txt formatting

(cherry picked from commit d2f697c8a180932e6c5cfa10ac715be888c51576)
This commit is contained in:
Matthew Kennedy 2023-05-05 12:26:23 -07:00 committed by rusefillc
parent ffa6ebb9a3
commit feaeb795a8
3 changed files with 19 additions and 20 deletions

View File

@ -1,8 +1,8 @@
! units,scale,offset,min,max,digits
struct_no_prefix dc_motors_s
float dcOutput0;"DC: output0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
uint8_t isEnabled0_int;"DC: en0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
bit isEnabled0
float dcOutput0;"DC: output0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
uint8_t isEnabled0_int;"DC: en0";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@@
bit isEnabled0
end_struct

View File

@ -1,10 +1,9 @@
! units,scale,offset,min,max,digits
struct_no_prefix electronic_throttle_s
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@@
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@@
float m_wastegatePosition;"DC: wastegatePosition";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@
@ -12,9 +11,9 @@ float luaAdjustment;"ETB: luaAdjustment";"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
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
float etbIntegralError;;"", 1, 0, -10000, 10000, 3
float etbCurrentTarget;;"%", 1, 0, -10000, 10000, 3
float etbCurrentAdjustedTarget;;"%", 1, 0, -10000, 10000, 3
bit etbRevLimitActive
bit jamDetected

View File

@ -31,18 +31,18 @@ struct_no_prefix engine_state_s
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
int16_t hellenBoardId;Detected Board ID;"id", 1, 0, 0, 3000, 0
int16_t hellenBoardId;Detected Board ID;"id", 1, 0, 0, 3000, 0
bit clutchUpState;@@INDICATOR_NAME_CLUTCH_UP@@
bit clutchDownState;@@INDICATOR_NAME_CLUTCH_DOWN@@
bit brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
bit startStopState
uint32_t startStopStateToggleCounter
bit clutchUpState;@@INDICATOR_NAME_CLUTCH_UP@@
bit clutchDownState;@@INDICATOR_NAME_CLUTCH_DOWN@@
bit brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
bit startStopState
uint32_t startStopStateToggleCounter
float egtValue1
float egtValue2
float egtValue1
float egtValue2
int16_t desiredRpmLimit;User-defined RPM hard limit;"rpm", 1, 0, 0, 30000, 0
int16_t desiredRpmLimit;User-defined RPM hard limit;"rpm", 1, 0, 0, 30000, 0
uint32_t fuelInjectionCounter;Fuel: Injection counter
uint32_t sparkCounter;Ign: Spark counter