71 lines
1.9 KiB
Plaintext
71 lines
1.9 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
|
|
|
|
LuaAdjustments lua
|
|
|
|
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
|
|
|
|
speed_density_s sd;
|
|
|
|
float baroCorrection;@@GAUGE_NAME_FUEL_BARO_CORR@@
|
|
|
|
struct cranking_fuel_s
|
|
|
|
floatms_t baseFuel;Fuel: base duration\nDuration of injection, in ms. During cranking we do not account for injector flow, so if you change injectors you would need to change settings.\nDeprecated. Please use '1'.\nTODO: maybe account for injector flow?
|
|
float coolantTemperatureCoefficient;Cranking: CLT coefficient
|
|
float tpsCoefficient
|
|
float durationCoefficient
|
|
floatms_t fuel;Fuel: Actual injection\nduration based on all coefficients.
|
|
|
|
! end of cranking_s structure definition
|
|
end_struct
|
|
|
|
! actually define a member of 'cranking_s' type
|
|
cranking_fuel_s crankingFuel
|
|
|
|
|
|
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
|
|
uint32_t sparkCounter
|
|
|
|
|
|
! 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
|