2023-02-13 13:35:40 -08:00
|
|
|
! units,scale,offset,min,max,digits
|
|
|
|
|
2022-04-14 11:38:32 -07:00
|
|
|
struct_no_prefix electronic_throttle_s
|
2023-05-05 12:26:23 -07:00
|
|
|
float idlePosition;"ETB: idlePosition";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
|
|
|
|
float trim;"ETB: trim"
|
|
|
|
float luaAdjustment;"ETB: luaAdjustment";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@
|
2022-04-14 11:38:32 -07:00
|
|
|
|
2023-02-17 19:19:02 -08:00
|
|
|
float m_wastegatePosition;"DC: wastegatePosition";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@
|
|
|
|
|
|
|
|
|
2022-06-29 00:14:39 -07:00
|
|
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
|
|
|
|
2022-06-29 00:01:13 -07:00
|
|
|
percent_t etbFeedForward
|
2023-05-05 12:26:23 -07:00
|
|
|
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
|
|
|
|
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
|
|
|
|
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
|
2022-04-14 11:38:32 -07:00
|
|
|
|
2022-08-25 17:49:21 -07:00
|
|
|
bit etbRevLimitActive
|
2023-01-10 12:31:04 -08:00
|
|
|
bit jamDetected
|
|
|
|
|
2023-03-16 13:20:36 -07:00
|
|
|
float etbDutyRateOfChange;"ETB duty rate of change";"per", 1,0, 0,25, 2,@@GAUGE_CATEGORY_ETB@@
|
2023-02-13 13:35:40 -08:00
|
|
|
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@@
|
2022-04-14 11:38:32 -07:00
|
|
|
|
2022-11-29 19:13:59 -08:00
|
|
|
int8_t etbErrorCode
|
|
|
|
|
2023-01-10 12:31:04 -08:00
|
|
|
uint16_t autoscale jamTimer;ETB jam timer;"sec", 0.01, 0, 0, 100, 2
|
|
|
|
|
2023-05-05 12:26:23 -07:00
|
|
|
end_struct
|