support multiple VVT sensors #885
This commit is contained in:
parent
9e47f99f99
commit
fadaf2bf49
|
@ -1650,10 +1650,12 @@ end_struct
|
|||
|
||||
#define GAUGE_NAME_VERSION "firmware"
|
||||
#define GAUGE_NAME_TRG_ERR "trg err"
|
||||
|
||||
#define GAUGE_NAME_VVT "VVT position"
|
||||
#define GAUGE_NAME_SECOND_VVT_BANK_1 "VVT second position bank 1"
|
||||
#define GAUGE_NAME_VVT_BANK_2 "VVT position bank 2"
|
||||
#define GAUGE_NAME_SECOND_VVT_BANK_2 "VVT second position bank 2"
|
||||
|
||||
#define GAUGE_NAME_TIMING_ADVANCE "timing"
|
||||
#define GAUGE_NAME_VVS "Vehicle Speed"
|
||||
#define GAUGE_NAME_VBAT "VBatt"
|
||||
|
|
|
@ -398,6 +398,9 @@ enable2ndByteCanID = false
|
|||
VssAcceleration = scalar, S16, 284, "m/s2", {1/@@PACK_MULT_MS@@}, 0.0
|
||||
lambdaValue2 = scalar, U16, 286, "",{1/@@PACK_MULT_LAMBDA@@}, 0.0
|
||||
AFRValue2 = scalar, U16, 288, "AFR",{1/@@PACK_MULT_AFR@@}, 0.0
|
||||
secondVvtPositionBank1=scalar,U16, 290, "deg",{1/@@PACK_MULT_ANGLE@@}, 0
|
||||
vvtPositionBank2= scalar, U16, 292, "deg",{1/@@PACK_MULT_ANGLE@@}, 0
|
||||
secondVvtPositionBank2=scalar,U16, 294, "deg",{1/@@PACK_MULT_ANGLE@@}, 0
|
||||
|
||||
;
|
||||
; see TunerStudioOutputChannels struct
|
||||
|
@ -1026,6 +1029,9 @@ gaugeCategory = Sensors - Extra 1
|
|||
accelerationYGauge = accelerationY, @@GAUGE_NAME_ACCEL_Y@@, "acc", -11, 11, 1.0, 1.2, 100, 100, 3, 1
|
||||
atmPresCGauge = baroPressure, @@GAUGE_NAME_BARO_PRESSURE@@, "kPa", 0, 1024, 0, 0, 0, 0, 0, 0
|
||||
vvtPositionGauge = vvtPosition, @@GAUGE_NAME_VVT@@, "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
||||
secondVvtPositionBank1Gauge=secondVvtPositionBank1, @@GAUGE_NAME_VVT_BANK_1@@, "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
||||
vvtPositionBank2Gauge=vvtPositionBank2, @@GAUGE_NAME_VVT_BANK_2@@, "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
||||
secondVvtPositionBank2Gauge=secondVvtPositionBank2, @@GAUGE_NAME_VVT_BANK_2@@, "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
||||
internalMcuTemperatureGauge = internalMcuTemperature, @@GAUGE_NAME_ECU_TEMPERATURE@@, "C", 0, 100, 0, 0, 75, 100, 0, 0
|
||||
OilPressGauge = oilPressure, @@GAUGE_NAME_OIL_PRESSURE@@, @@GAUGE_NAME_OIL_PRESSURE_UNITS@@, 0, 750, 35, 75, 550, 700, 0, 0
|
||||
idleAirValvePositionGauge = idleAirValvePosition, "Idle position", "%", 0, 100, 0, 0, 100, 100, 1, 1
|
||||
|
@ -1290,6 +1296,9 @@ gaugeCategory = DynoView
|
|||
|
||||
entry = sparkDwellValue, @@GAUGE_COIL_DWELL_TIME@@, float,"%.3f"
|
||||
entry = vvtPosition, @@GAUGE_NAME_VVT@@, float,"%.2f"
|
||||
entry = vvtPositionBank2,@@GAUGE_NAME_VVT_BANK_2@@, float,"%.2f"
|
||||
entry = secondVvtPositionBank1,@@GAUGE_NAME_SECOND_VVT_BANK_1@@, float,"%.2f"
|
||||
entry = secondVvtPositionBank2,@@GAUGE_NAME_SECOND_VVT_BANK_2@@, float,"%.2f"
|
||||
entry = injectionOffset, "injOffset" , float, "%.2F"
|
||||
|
||||
; is there a way to log parameter? entry = debugMode, "debugMode",int,"%d"
|
||||
|
|
Loading…
Reference in New Issue