ini work for launch control

This commit is contained in:
Josh Stewart 2015-10-17 22:23:34 +11:00
parent f506ea4a07
commit f15d9d3bf3
1 changed files with 133 additions and 118 deletions

View File

@ -232,8 +232,8 @@ page = 4
HardRevLim = scalar, U08, 22, "rpm", 100, 0.0, 100, 25500, 0 HardRevLim = scalar, U08, 22, "rpm", 100, 0.0, 100, 25500, 0
;TPS based acceleration enrichment ;TPS based acceleration enrichment
taeBins = array, U08, 23, [ 4], "%/s", 10.0, 0.00000, 0.00, 2550.0, 0 taeBins = array, U08, 23, [ 4], "%/s", 10.0, 0.0, 0.00, 2550.0, 0
taeRates = array, U08, 27, [ 4], "%", 1.0, 0.00000, 0.00, 255.0, 0 ; 4 bytes taeRates = array, U08, 27, [ 4], "%", 1.0, 0.0, 0.00, 255.0, 0 ; 4 bytes
wueRates = array, U08, 31, [10], "C", 1.0, 0.0, 100.0, 255.0, 0 wueRates = array, U08, 31, [10], "C", 1.0, 0.0, 100.0, 255.0, 0
;Dwell config options ;Dwell config options
dwellLim = scalar, U08, 41, "ms", 1, 0, 0, 32, 0 dwellLim = scalar, U08, 41, "ms", 1, 0, 0, 32, 0
@ -303,14 +303,22 @@ page = 6
injBatRates = array, U08, 21, [6], "%", 1, 0, 0, 255, 0 ;Values for injector pulsewidth vs voltage injBatRates = array, U08, 21, [6], "%", 1, 0, 0, 255, 0 ;Values for injector pulsewidth vs voltage
airDenBins = array, U08, 27, [9], "C", 1.0, -40, -40, 215, 0 ; Bins for the air density correction curve airDenBins = array, U08, 27, [9], "C", 1.0, -40, -40, 215, 0 ; Bins for the air density correction curve
airDenRates = array, U08, 36, [9], "%", 1.0, 0.0, 0, 255, 0 ; Values for the air density correction curve airDenRates = array, U08, 36, [9], "%", 1.0, 0.0, 0, 255, 0 ; Values for the air density correction curve
; PWM Frequencies
boostFreq = scalar, U08, 45, "Hz", 2.0, 0.0, 10, 511, 0 boostFreq = scalar, U08, 45, "Hz", 2.0, 0.0, 10, 511, 0
vvtFreq = scalar, U08, 46, "Hz", 2.0, 0.0, 10, 511, 0 vvtFreq = scalar, U08, 46, "Hz", 2.0, 0.0, 10, 511, 0
idleFreq = scalar, U08, 47, "Hz", 2.0, 0.0, 10, 511, 0 idleFreq = scalar, U08, 47, "Hz", 2.0, 0.0, 10, 511, 0
unused48 = scalar, U08, 48, "RPM", 100.0, 0.0, 100, 25500, 0
unused49 = scalar, U08, 49, "RPM", 100.0, 0.0, 100, 25500, 0 ; Launch Control
unused50 = scalar, U08, 50, "RPM", 100.0, 0.0, 100, 25500, 0 launchPin = bits , U08, 48, [0:5], "Board Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
unused51 = scalar, U08, 51, "RPM", 100.0, 0.0, 100, 25500, 0 launchEnable= bits, U08, 48, [6:6], "No", "Yes"
unused52 = scalar, U08, 52, "RPM", 100.0, 0.0, 100, 25500, 0 unused48h = bits, U08, 48, [7:7], "No", "Yes"
lnchSoftLim = scalar, U08, 49, "rpm", 100, 0.0, 100, 25500, 0
lnchRetard = scalar, U08, 50, "deg", 1.0, 0.0, 0.0, 80, 0
lnchHardLim = scalar, U08, 51, "rpm", 100, 0.0, 100, 25500, 0
lnchFuelAdd = scalar, U08, 52, "%", 1.0, 0.0, 0.0, 80, 0
unused53 = scalar, U08, 53, "RPM", 100.0, 0.0, 100, 25500, 0 unused53 = scalar, U08, 53, "RPM", 100.0, 0.0, 100, 25500, 0
unused54 = scalar, U08, 54, "RPM", 100.0, 0.0, 100, 25500, 0 unused54 = scalar, U08, 54, "RPM", 100.0, 0.0, 100, 25500, 0
unused55 = scalar, U08, 55, "RPM", 100.0, 0.0, 100, 25500, 0 unused55 = scalar, U08, 55, "RPM", 100.0, 0.0, 100, 25500, 0
@ -364,6 +372,11 @@ page = 7
fanSP = scalar, U08, 57, "°F", 1.0, -40, -40, 215.0, 0 fanSP = scalar, U08, 57, "°F", 1.0, -40, -40, 215.0, 0
fanHyster = scalar, U08, 58, "°F", 1.0, -40, -40, 215.0, 0 fanHyster = scalar, U08, 58, "°F", 1.0, -40, -40, 215.0, 0
#endif #endif
unused59 = scalar, U08, 59, "RPM", 100.0, 0.0, 100, 25500, 0
unused60 = scalar, U08, 60, "RPM", 100.0, 0.0, 100, 25500, 0
unused61 = scalar, U08, 61, "RPM", 100.0, 0.0, 100, 25500, 0
unused62 = scalar, U08, 62, "RPM", 100.0, 0.0, 100, 25500, 0
unused63 = scalar, U08, 63, "RPM", 100.0, 0.0, 100, 25500, 0
;-------------------------------------------------- ;--------------------------------------------------
;Boost and vvt maps (Page 8) ;Boost and vvt maps (Page 8)
@ -471,6 +484,7 @@ page = 8
menu = "&Accessories" menu = "&Accessories"
subMenu = fanSettings, "Thermo Fan" subMenu = fanSettings, "Thermo Fan"
subMenu = LaunchControl, "Launch Control"
subMenu = std_separator subMenu = std_separator
subMenu = boostSettings, "Boost Control" subMenu = boostSettings, "Boost Control"
subMenu = boostTbl, "Boost duty cycle", 8, { boostEnabled } subMenu = boostTbl, "Boost duty cycle", 8, { boostEnabled }
@ -624,15 +638,6 @@ page = 8
field = "Number of Sec to run", aseCount field = "Number of Sec to run", aseCount
;dialog = egoSettings, "Exhaust Gas Oxygen"
;field = "EGO Sensor Type", egoType
;field = "EGO Switch Point (v)", egoSwitch
;field = "Coolant Temp Activation", egoTemp
;field = "Ignition Events Per Step", egoCount
;field = "EGO Step", egoDelta
;field = "EGO ± Limit", egoLimit
;field = "EGO Active Above", egoRPM
dialog = triggerSettings,"Trigger Settings",4 dialog = triggerSettings,"Trigger Settings",4
topicHelp = Shelp3 topicHelp = Shelp3
field = "Trigger Pattern", TrigPattern field = "Trigger Pattern", TrigPattern
@ -685,6 +690,16 @@ page = 8
field = "Soft limit max time", SoftLimMax field = "Soft limit max time", SoftLimMax
field = "Hard Rev limit", HardRevLim field = "Hard Rev limit", HardRevLim
dialog = LaunchControl, "Launch Control", 6
topicHelp = Fhelp7
field = "Launch Control"
field = "Enable Launch", launchEnable
field = "Launch Input Pin", launchPin, { launchEnable }
field = "Soft rev limit", lnchSoftLim, { launchEnable }
field = "Soft limit absolute timing", lnchRetard, { launchEnable }
field = "Hard rev limit", lnchHardLim, { launchEnable }
field = "Fuel adder during launch", lnchFuelAdd, { launchEnable }
dialog = OLED, "OLED Display", 2 dialog = OLED, "OLED Display", 2
field = "Display Type", display field = "Display Type", display
field = "#Note" field = "#Note"