59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
|
|
struct_no_prefix engine_state_s
|
|
struct LuaAdjustments
|
|
float fuelAdd;Lua: Fuel add;"g", 1, 0, 0, 1, 3
|
|
float fuelMult;Lua: Fuel mult;
|
|
|
|
bit clutchUpState
|
|
bit brakePedalState
|
|
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@@
|
|
|
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
|
|
|
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
|
|
|
|
float egtValue1
|
|
float egtValue2
|
|
|
|
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
|
|
|
|
! 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@@
|
|
|
|
uint16_t autoscale veTableYAxis;;"%",{1/100}, 0, 0, 0, 0
|
|
|
|
! engine_state_s
|
|
end_struct
|