fome-fw/firmware/controllers/actuators/electronic_throttle.txt

31 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-02-13 13:35:40 -08:00
! units,scale,offset,min,max,digits
struct_no_prefix electronic_throttle_s
2023-02-13 13:35:40 -08:00
float idlePosition;"ETB: idlePosition";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
2022-11-22 17:20:45 -08:00
float trim;"ETB: trim"
2023-02-12 18:15:45 -08:00
float luaAdjustment;"ETB: luaAdjustment";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@
float m_wastegatePosition;"DC: wastegatePosition";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
percent_t etbFeedForward
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
2022-11-22 17:20:45 -08:00
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
2022-08-25 17:49:21 -07:00
bit etbRevLimitActive
bit jamDetected
2023-02-13 13:35:40 -08:00
float etbDutyRateOfChange;"ETB duty rate of change";"per", 1,0, -0,20, 2,@@GAUGE_CATEGORY_ETB@@
float etbDutyAverage;"ETB average duty";"per", 1,0, -20,50, 2,@@GAUGE_CATEGORY_ETB@@
2023-02-12 18:15:45 -08:00
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@@
int8_t etbErrorCode
uint16_t autoscale jamTimer;ETB jam timer;"sec", 0.01, 0, 0, 100, 2
end_struct