parent
d169f57c5c
commit
5651062d4f
|
@ -224,7 +224,9 @@ void EtbController::showStatus() {
|
|||
}
|
||||
|
||||
expected<percent_t> EtbController::observePlant() {
|
||||
return Sensor::get(m_positionSensor);
|
||||
expected<percent_t> plant = Sensor::get(m_positionSensor);
|
||||
validPosition = plant.Valid;
|
||||
return plant;
|
||||
}
|
||||
|
||||
void EtbController::setIdlePosition(percent_t pos) {
|
||||
|
|
|
@ -17,6 +17,7 @@ struct_no_prefix electronic_throttle_s
|
|||
|
||||
bit etbRevLimitActive
|
||||
bit jamDetected
|
||||
bit validPosition
|
||||
|
||||
uint16_t etbTpsErrorCounter;"ETB TPS error counter";"count", 1,0, 0,3, 0,@@GAUGE_CATEGORY_ETB@@
|
||||
uint16_t etbPpsErrorCounter;"ETB pedal error counter";"count", 1,0, 0,3, 0,@@GAUGE_CATEGORY_ETB@@
|
||||
|
|
Loading…
Reference in New Issue