From 4d02301ed8b1feadd3de481fcaa3bb5d67d3bb5b Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 30 Sep 2021 13:11:31 -0700 Subject: [PATCH] use ego correction in VE analyze live (#3256) * use ego correction in VE analyze live * needs a variable --- firmware/tunerstudio/rusefi.input | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 18e6c56adb..590369c6c2 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -141,10 +141,10 @@ enable2ndByteCanID = false ; tableName, lambdaTargetTableName, lambdaChannel, egoCorrectionChannel, activeCondition #if LAMBDA - veAnalyzeMap = veTableTbl, lambdaTableTbl, lambdaValue, egoCorrection, { 1 } + veAnalyzeMap = veTableTbl, lambdaTableTbl, lambdaValue, egoCorrectionForVeAnalyze, { 1 } lambdaTargetTables = lambdaTableTbl, afrTSCustom #else - veAnalyzeMap = veTableTbl, afrTableTbl, AFRValue, egoCorrection, { 1 } + veAnalyzeMap = veTableTbl, afrTableTbl, AFRValue, egoCorrectionForVeAnalyze, { 1 } lambdaTargetTables = afrTableTbl, afrTSCustom #endif @@ -415,9 +415,10 @@ enable2ndByteCanID = false LM_SPEED_DENSITY = {3}, LM_REAL_MAF = {4} - egoCorrection = { 100 } time = { timeNow } + egoCorrectionForVeAnalyze = { 100 + fuelPidCorrection } + ; These "synthetic" channels provide the Y-axis (load) value for gen purp PWM table's Y axes gppwm1_load = {(gppwm1_loadAxis == 0) ? TPSValue : ((gppwm1_loadAxis == 1) ? MAPValue : ((gppwm1_loadAxis == 2) ? coolant : ((gppwm1_loadAxis == 3) ? intake : ((gppwm1_loadAxis == 4) ? fuelingLoad : ignitionLoad))))} gppwm2_load = {(gppwm2_loadAxis == 0) ? TPSValue : ((gppwm2_loadAxis == 1) ? MAPValue : ((gppwm2_loadAxis == 2) ? coolant : ((gppwm2_loadAxis == 3) ? intake : ((gppwm2_loadAxis == 4) ? fuelingLoad : ignitionLoad))))} @@ -1135,10 +1136,10 @@ gaugeCategory = DynoView ; wueCurveName, afrTempCompensationCurve, lambdaTargetTableName, lambdaChannel, coolantTempChannel, egoCorrectionChannel, wueChannel, activeCondition #if LAMBDA - wueAnalyzeMap = wueAnalyzer_warmup_curve, wueAfrTargetOffsetCurve, lambdaTableTbl, lambdaValue, coolant, cltCorrection, egoCorrection + wueAnalyzeMap = wueAnalyzer_warmup_curve, wueAfrTargetOffsetCurve, lambdaTableTbl, lambdaValue, coolant, cltCorrection, egoCorrectionForVeAnalyze lambdaTargetTables = lambdaTableTbl, afrTSCustom #else - wueAnalyzeMap = wueAnalyzer_warmup_curve, wueAfrTargetOffsetCurve, afrTableTbl, AFRValue, coolant, cltCorrection, egoCorrection + wueAnalyzeMap = wueAnalyzer_warmup_curve, wueAfrTargetOffsetCurve, afrTableTbl, AFRValue, coolant, cltCorrection, egoCorrectionForVeAnalyze lambdaTargetTables = afrTableTbl, afrTSCustom #endif