open_simulation_interface
master (2c3953b)
|
State description of the powertrain. More...
Classes | |
struct | Motor |
A description of the motor states. More... | |
Public Attributes | |
optional double | pedal_position_acceleration = 1 |
Position of the acceleration pedal. More... | |
optional double | pedal_position_clutch = 2 |
Position of the clutch pedal. More... | |
optional int32 | gear_transmission = 3 |
The actual gear of the transmission. More... | |
repeated Motor | motor = 4 |
Information about the motor(s). More... | |
State description of the powertrain.
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)
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).