2019-06-17 09:18:55 -07:00
|
|
|
|
2022-04-13 17:45:52 -07:00
|
|
|
struct_no_prefix engine_state_s
|
2023-05-05 02:09:42 -07:00
|
|
|
struct LuaAdjustments
|
|
|
|
float fuelAdd;Lua: Fuel add;"g", 1, 0, 0, 1, 3
|
|
|
|
float fuelMult;Lua: Fuel mult;
|
|
|
|
|
2023-08-22 11:26:47 -07:00
|
|
|
bit clutchUpState
|
|
|
|
bit brakePedalState
|
2023-05-05 02:09:42 -07:00
|
|
|
bit acRequestState
|
|
|
|
bit luaDisableEtb
|
|
|
|
bit luaIgnCut
|
|
|
|
end_struct
|
|
|
|
|
|
|
|
struct speed_density_s
|
|
|
|
int16_t autoscale tCharge;Air: Charge temperature estimate;"deg C",{1/@@PACK_MULT_TEMPERATURE@@}, 0, 0, 0, 1
|
|
|
|
float tChargeK;Air: Charge temperature estimate K
|
|
|
|
end_struct
|
|
|
|
|
|
|
|
struct cranking_fuel_s
|
|
|
|
float coolantTemperatureCoefficient;Fuel: cranking CLT mult
|
|
|
|
float tpsCoefficient;Fuel: cranking TPS mult
|
|
|
|
float durationCoefficient;Fuel: cranking duration mult
|
|
|
|
uint16_t autoscale fuel;Fuel: Cranking cycle mass;"mg",{1/@@PACK_MULT_FUEL_MASS@@}, 0, 0, 0, 2
|
|
|
|
end_struct
|
|
|
|
|
|
|
|
LuaAdjustments lua
|
|
|
|
speed_density_s sd;
|
|
|
|
cranking_fuel_s crankingFuel
|
|
|
|
|
|
|
|
float baroCorrection;@@GAUGE_NAME_FUEL_BARO_CORR@@
|
2019-08-26 20:41:04 -07:00
|
|
|
|
2022-06-19 06:52:23 -07:00
|
|
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
2019-09-01 12:46:40 -07:00
|
|
|
|
2023-05-05 12:26:23 -07:00
|
|
|
int16_t hellenBoardId;Detected Board ID;"id", 1, 0, 0, 3000, 0
|
2022-06-28 22:14:58 -07:00
|
|
|
|
2023-09-25 10:11:04 -07:00
|
|
|
! huh: why exactly are those byte states not bit states?!
|
2023-08-22 11:26:47 -07:00
|
|
|
int8_t clutchUpState;@@INDICATOR_NAME_CLUTCH_UP@@
|
|
|
|
int8_t clutchDownState;@@INDICATOR_NAME_CLUTCH_DOWN@@
|
|
|
|
int8_t brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
|
|
|
|
int8_t startStopState
|
2023-09-25 10:11:04 -07:00
|
|
|
bit startStopPhysicalState
|
2023-05-05 12:26:23 -07:00
|
|
|
uint32_t startStopStateToggleCounter
|
2022-08-23 19:54:48 -07:00
|
|
|
|
2023-05-05 12:26:23 -07:00
|
|
|
float egtValue1
|
|
|
|
float egtValue2
|
2022-08-22 08:12:34 -07:00
|
|
|
|
2023-05-05 12:26:23 -07:00
|
|
|
int16_t desiredRpmLimit;User-defined RPM hard limit;"rpm", 1, 0, 0, 30000, 0
|
2022-08-22 15:23:25 -07:00
|
|
|
|
2023-05-05 02:09:42 -07:00
|
|
|
uint32_t fuelInjectionCounter;Fuel: Injection counter
|
|
|
|
uint32_t sparkCounter;Ign: Spark counter
|
2022-09-04 19:38:05 -07:00
|
|
|
|
|
|
|
! Values used for load axes for fuel/ign tables
|
|
|
|
! These may or may not be the same value, depending on mode
|
|
|
|
float fuelingLoad;@@GAUGE_NAME_FUEL_LOAD@@
|
|
|
|
float ignitionLoad;@@GAUGE_NAME_IGNITION_LOAD@@
|
|
|
|
|
2022-11-05 17:23:09 -07:00
|
|
|
uint16_t autoscale veTableYAxis;;"%",{1/100}, 0, 0, 0, 0
|
2022-09-04 19:38:05 -07:00
|
|
|
|
|
|
|
! engine_state_s
|
2019-06-17 09:18:55 -07:00
|
|
|
end_struct
|