Vss filter configuration field and param (#2210)

Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
This commit is contained in:
shadowm60 2021-01-10 17:14:50 +02:00 committed by GitHub
parent 8960c7a0b5
commit 8d1610a7a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -1538,7 +1538,10 @@ float[FUEL_LOAD_COUNT] injPhaseLoadBins;;"Load", 1, 0.0, 0, 500.0,
float[FUEL_RPM_COUNT] injPhaseRpmBins;;"RPM", 1, 0.0, 0, 18000.0, 2
tcubinary_table_t tcuSolenoidTable;
uint8_t[1092] unused15136;;"units", 1, 0, -20, 100, 0
float vssFilterReciprocal;+Good example: number of tooth on wheel, For Can 10 is a good number.;"Hz", 1, 0, 2.0, 20.0, 2
uint8_t[1088] unused15136;;"units", 1, 0, -20, 100, 0
ignition_table_t ignitionTable;
float[IGN_LOAD_COUNT] ignitionLoadBins;;"Load", 1, 0.0, 0, 500.0, 2

View File

@ -2810,10 +2810,14 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
dialog = speedSensorCan
field = "Vss Car Type", canVssNbcType, { enableCanVss }
dialog = vssFilter
field = "Filter Reciprocal", vssFilterReciprocal
dialog = speedSensorLeft, "Speed sensor config", yAxis
panel = speedSensorCan, { enableCanVss }
panel = speedSensorAnalog, { enableCanVss == 0 }
field = "Enable CANbus VSS values", enableCanVss, { canReadEnabled }
panel = vssFilter
dialog = speedSensor, "Speed sensor", xAxis
panel = speedSensorLeft