osi3::HostVehicleData::VehiclePowertrain Struct Reference
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... | |
Member Data Documentation
◆ pedal_position_acceleration
optional double osi3::HostVehicleData::VehiclePowertrain::pedal_position_acceleration = 1 |
Position of the acceleration pedal.
Range: 0-1 (Unpressed - fully pressed)
◆ pedal_position_clutch
optional double osi3::HostVehicleData::VehiclePowertrain::pedal_position_clutch = 2 |
Position of the clutch pedal.
Range: 0-1 (Unpressed - fully pressed)
◆ gear_transmission
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:
- zero: neutral position
- positive: driving forward mode
- negative: reverse mode (generally -1, but few vehicles have more than 1 reverse mode gears)
◆ motor
repeated Motor osi3::HostVehicleData::VehiclePowertrain::motor = 4 |
Information about the motor(s).
- osi_hostvehicledata.proto