modelMinimalDriver
Constant acceleration Driver
Extends from VehicleInterfaces.Icons.Driver (Icon for a driver subsystem), VehicleInterfaces.Drivers.Interfaces.Base (Basic interface definition for a driver).
Information
Constant acceleration driver with the capabilitiy to step between two constant throttle values.
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.DriverInterface | driverInterface (from Base) | Driver Interaction Bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Step | brakeDemand | ||
| Modelica.Blocks.Sources.Step | acceleratorDemand | ||
| Modelica.Blocks.Sources.Constant | steeringAngle | ||
| Modelica.Blocks.Sources.IntegerConstant | gearboxMode | ||
| Modelica.Blocks.Sources.IntegerConstant | requestedGear | ||
| Mechanics.NormalisedRotational.Position | steeringWheelAngle | ||
| Mechanics.NormalisedTranslational.Position | brakePosition | ||
| Mechanics.NormalisedTranslational.Position | acceleratorPosition | ||
| Modelica.Blocks.Sources.IntegerStep | ignition |