|
| virtual Logger | logger () const |
| |
|
bool | connected_ {false} |
| |
|
bool | operational_ {false} |
| |
|
std::string | name_ |
| |
|
std::string | desc_ |
| |
◆ active_state()
| fable::Json cloe::PowertrainSensor::active_state |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ gear_transmission()
| virtual int cloe::PowertrainSensor::gear_transmission |
( |
| ) |
const |
|
pure virtual |
Return the gear transmission.
The sign of this field is linked to the mode of the gear
- positive: driving forward (e.g. a value of 3 means the third gear in driving forward mode)
- 0: means that the gear lever is in neutral position
- negative: reverse mode (e.g. a value of -1 means the first gear in reverse mode)
- int max: means that the transmission is in parking position (can be accessed via std::numeric_limits<int>::max())
Implemented in cloe::NopPowertrainSensor.
◆ pedal_position_acceleration()
| virtual double cloe::PowertrainSensor::pedal_position_acceleration |
( |
| ) |
const |
|
pure virtual |
Return the position of the acceleration pedal with no unit.
The range goes from 0 (unpressed) to 1 (fully pressed).
Implemented in cloe::NopPowertrainSensor.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/cloe/checkouts/v0.25.1/models/include/cloe/component/powertrain_sensor.hpp