open_simulation_interface
v3.4.0 (2021-11-18)
|
State description of the powertrain. More...
Classes | |
struct | Motor |
A description of the motor states. More... | |
Public Attributes | |
optional double | pedal_position_acceleration = 1 |
optional double | pedal_position_clutch = 2 |
optional int32 | gear_transmission = 3 |
repeated Motor | motor = 4 |
State description of the powertrain.
optional int32 osi3::HostVehicleData::VehiclePowertrain::gear_transmission = 3 |
The actual gear of the transmission. For example, a gear lever can be on "D" and the transmission on "4", but not the other way around.
The sign of this field is linked to the gear's mode as following:
repeated Motor osi3::HostVehicleData::VehiclePowertrain::motor = 4 |
Information about the motor(s).
optional double osi3::HostVehicleData::VehiclePowertrain::pedal_position_acceleration = 1 |
Position of the acceleration pedal. Range: 0-1 (Unpressed - fully pressed)
optional double osi3::HostVehicleData::VehiclePowertrain::pedal_position_clutch = 2 |
Position of the clutch pedal. Range: 0-1 (Unpressed - fully pressed)