introduce vehicle acceleration in TS (#1997)

* introduce vehicle acceleration in TS

* Update rusefi.input

added gauge as well
This commit is contained in:
shadowm60 2020-12-02 18:12:19 +02:00 committed by GitHub
parent b3bab1afeb
commit 1725efc7e3
2 changed files with 9 additions and 1 deletions

View File

@ -259,7 +259,9 @@ typedef struct {
scaled_lambda targetLambda; // 280
scaled_afr airFuelRatio; // 282
uint8_t unusedAtTheEnd[4]; // we have some unused bytes to allow compatible TS changes
scaled_ms VssAcceleration; //284
//288
uint8_t unusedAtTheEnd[2]; // we have some unused bytes to allow compatible TS changes
// Temporary - will remove soon
TsDebugChannels* getDebugChannels() {

View File

@ -384,6 +384,7 @@ enable2ndByteCanID = false
highFuelPressure = scalar, S16, 278, "bar", {1/@@PACK_MULT_HIGH_PRESSURE@@}, 0
targetLambda = scalar, U16, 280, "",{1/@@PACK_MULT_LAMBDA@@}, 0.0
AFRValue = scalar, U16, 282, "AFR",{1/@@PACK_MULT_AFR@@}, 0.0
VssAcceleration = scalar, U16, 284, "m/s2" {1/@@PACK_MULT_MS@@}, 0.0
;
; see TunerStudioOutputChannels struct
@ -1054,6 +1055,9 @@ gaugeCategory = Knock
knock7Gauge = knock7, "Knock Cyl 7", "dBv", -60, 10, -60, -60, 10, 10, 0, 0
knock8Gauge = knock8, "Knock Cyl 8", "dBv", -60, 10, -60, -60, 10, 10, 0, 0
gaugeCategory = DynoView
accelGauge = VssAcceleration, "Vehicle acceleration", "m/s2", -10, 10, -6, -4, 4, 6, 2, 2
[WueAnalyze]
; wueCurveName, afrTempCompensationCurve, lambdaTargetTableName, lambdaChannel, coolantTempChannel, egoCorrectionChannel, wueChannel, activeCondition
@ -1286,6 +1290,8 @@ gaugeCategory = Knock
entry = knock7, "Knock 7", int, "%d"
entry = knock8, "Knock 8", int, "%d"
entry = VssAcceleration, "Accel", float, "%.3f"
; tpsADC = U16, "ADC",
; alignmet = U16, "al",
; atmPres = F32, "pres",