Skip to content

Commit 267413e

Browse files
committed
ltft tables: UI
1 parent 1ec595f commit 267413e

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

firmware/tunerstudio/tunerstudio.template.ini

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,21 @@ page = 2
107107
; offsets + type array for scatteredOchGetCommand
108108
highSpeedOffsets = array, U16, 0, [@@TS_SCATTER_OFFSETS_COUNT@@], "", 1.0000, 0.00000, 0.00, 65535, 0, noMsqSave
109109

110+
page = 3
111+
; LTFT, convert to percents
112+
ltft_table_bank1 = array, F32, 0, [@@VE_LOAD_COUNT@@x@@VE_RPM_COUNT@@], "%", 100, 0.00000, -35.0, 35.0, 1, noMsqSave,controllerPriority
113+
ltft_table_bank2 = array, F32, 1024, [@@VE_LOAD_COUNT@@x@@VE_RPM_COUNT@@], "%", 100, 0.00000, -35.0, 35.0, 1, noMsqSave,controllerPriority
114+
110115
; CONFIG_DEFINITION_START
111116

112117
; this section will be generated automatically by ConfigDefinition.jar based on rusefi_config.txt
113118

114119
; CONFIG_DEFINITION_END
115120

121+
; Continue SettingContextHelp
122+
ltft_table_bank1 = "Read-only table showing the Long-Term Fuel Trims the ECU has calculated for Bank 1 based on lambda sensor feedback."
123+
ltft_table_bank2 = "Read-only table showing the Long-Term Fuel Trims the ECU has calculated for Bank 2 based on lambda sensor feedback."
124+
116125
[Tuning]
117126
spotDepth = 2 ; 0 = no indicators, 1 = Z only, 2 = XYZ indicators.
118127
cursorDepth = 2 ; Same as spot depth.
@@ -1563,6 +1572,22 @@ curve = rangeMatrix, "Range Switch Input Matrix"
15631572
yBins = torqueReductionTimeGearBins, tcuCurrentGear
15641573
zBins = torqueReductionTimeTable
15651574

1575+
table = ltftBank1Tbl, ltftBank1Map, "Long Term Fuel Trim Bank 1"
1576+
xyLabels = "RPM", {bitStringValue(veAxisLabels, veOverrideMode)}
1577+
xBins = veRpmBins, RPMValue, readOnly
1578+
yBins = veLoadBins, veTableYAxis, readOnly
1579+
zBins = ltft_table_bank1
1580+
upDownLabel = "RICHER", "LEANER"
1581+
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
1582+
1583+
table = ltftBank2Tbl, ltftBank2Map, "Long Term Fuel Trim Bank 2"
1584+
xyLabels = "RPM", {bitStringValue(veAxisLabels, veOverrideMode)}
1585+
xBins = veRpmBins, RPMValue, readOnly
1586+
yBins = veLoadBins, veTableYAxis, readOnly
1587+
zBins = ltft_table_bank2
1588+
upDownLabel = "RICHER", "LEANER"
1589+
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
1590+
15661591
[GaugeConfigurations]
15671592
@@LIVE_DATA_GAUGES_FROM_FILE@@
15681593
@@BOARD_GAUGES_FROM_FILE@@
@@ -2139,9 +2164,13 @@ menuDialog = main
21392164

21402165
subMenu = cltFuelCorrCurveDialog, "Warmup enrichment", 0, {isInjectionEnabled == 1}
21412166
subMenu = iatFuelCorrCurve, "IAT multiplier", 0, {isInjectionEnabled == 1}
2167+
subMenu = coastingFuelCutControl, "Deceleration fuel cutoff (DFCO)", 0, {isInjectionEnabled == 1}
2168+
subMenu = std_separator
2169+
21422170
subMenu = fuelClosedLoopDialog, "Short term fuel trim/Closed loop", 0, {isInjectionEnabled == 1}
21432171
subMenu = fuelLTFCDialog, "Long term fuel trims", 0, {isInjectionEnabled == 1}
2144-
subMenu = coastingFuelCutControl, "Deceleration fuel cutoff (DFCO)", 0, {isInjectionEnabled == 1}
2172+
subMenu = ltftBank1Tbl, "Long Term Fuel Trim Bank 1", { ltft_enabled }
2173+
subMenu = ltftBank2Tbl, "Long Term Fuel Trim Bank 2", { ltft_enabled }
21452174
subMenu = std_separator
21462175

21472176
# Injector model

0 commit comments

Comments
 (0)