only: fuel sensor fuelLevelAveragingAlpha #7180

This commit is contained in:
rusefillc 2024-12-17 12:03:50 -05:00
parent 0bc2c65160
commit 02b960afae
3 changed files with 6 additions and 1 deletions

View File

@ -103,6 +103,8 @@ void setDefaultBaseEngine() {
engineConfiguration->acrRevolutions = 5;
engineConfiguration->fuelLevelAveragingAlpha = 0.001;
engineConfiguration->watchOutForLinearTime = true;
setLinearCurve(engineConfiguration->tractionControlSlipBins, /*from*/0.9, /*to*/1.2, 0.05);

View File

@ -1805,7 +1805,9 @@ uint8_t autoscale knockFuelTrim;Fuel trim when knock, max 30%;"%", 1, 0, 0, 30,
float nitrousIgnitionRetard;Retard timing to remove from actual final timing (after all corrections) due to additional air.;"deg", 1, 0, -180, 180, 2
uint16_t nitrousMinimumVehicleSpeed;;"Kph", 1, 0, 0, 300, 0
#define END_OF_CALIBRATION_PADDING 66
float fuelLevelAveragingAlpha;Exponential Average Alpha filtering parameter;"", 1, 0, 0.0001, 1, 4
#define END_OF_CALIBRATION_PADDING 62
uint8_t[END_OF_CALIBRATION_PADDING] unusedOftenChangesDuringFirmwareUpdate;;"units", 1, 0, 0, 1, 0
! end of engine_configuration_s

View File

@ -3221,6 +3221,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
dialog = fuelLevelDialog, "Fuel Level Sensor"
field = "Input channel", fuelLevelSensor
; field = "Filter Alpha", fuelLevelAveragingAlpha
panel = fuelLevelCurve
;