modelDriveByWireAutomatic
Minimal Drive-by-wire Driver-Vehicle Interface
Extends from VehicleInterfaces.Icons.DriverEnvironment (Icon for a driver environment subsystem), VehicleInterfaces.DriverEnvironments.Interfaces.BaseAutomaticTransmission (Interface definition for the driver-vehicle interface with an automatic transmission).
Information
Constant acceleration driver with the capabilitiy to step between two constant throttle values and to step on/off the brakes.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | initialAccelRequest | 1 | Initial accelerator pedal position |
| Real | initialBrakeRequest | 0 | Initial brake pedal position |
| Real | finalAccelRequest | 1 | Final accelerator pedal position |
| Real | finalBrakeRequest | 0 | Final brake pedal position |
| SI.Time | accelTime | 10 | Time of accel apply |
| SI.Time | brakeTime | 10 | Time of brake apply |
| VehicleInterfaces.Types.GearMode.Temp | selectedGearboxMode | VehicleInterfaces.Types.GearMode.Drive | Current gearbox mode |
| VehicleInterfaces.Types.Gear | manualGearRequest | 0 | Requested gear in manual mode |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| VehicleInterfaces.Interfaces.ControlBus | controlBus (from Base) | Control signal bus | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | chassisFrame (from Base) | Chassis reference frame (optional) | |
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | steeringWheel (from Base) | Steering wheel connection (optional) | |
| Modelica.Mechanics.Translational.Interfaces.Flange_a | acceleratorPedal (from Base) | Accelerator pedal connection (optional) | |
| Modelica.Mechanics.Translational.Interfaces.Flange_a | brakePedal (from Base) | Brake pedal connection (optional) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Step | brakeDemand | ||
| Modelica.Blocks.Sources.Step | acceleratorDemand | ||
| Modelica.Blocks.Sources.IntegerConstant | gearSelect | ||
| Modelica.Blocks.Sources.IntegerConstant | gearMode | ||
| Modelica.Blocks.Sources.IntegerStep | ignition |