Multispark configuration (#1190)
* multispark * scaling, units * hide in "broken stuff" menu for now Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
a617cb30a5
commit
43f3ab7624
|
@ -750,11 +750,13 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:7], @@maf_sensor_type_e_enum@
|
|||
switch_input_pin_e clutchUpPin;Some vehicles have a switch to indicate that clutch pedal is all the way up
|
||||
brain_input_pin_e frequencyReportingMapInputPin;
|
||||
pin_input_mode_e clutchUpPinMode;
|
||||
float unused
|
||||
uint16_t multisparkMaxRpm;;"rpm", 1, 0, 0, 3000, 0
|
||||
uint8_t multisparkMaxSparkingAngle;;"deg", 1, 0, 0, 60, 0
|
||||
uint8_t multisparkMaxExtraSparkCount;;"count", 1, 0, 0, 5, 0
|
||||
bit todoClutchUpPinInverted
|
||||
bit todoClutchDownPinInverted
|
||||
bit useHbridges
|
||||
bit unusedBit_251_3
|
||||
bit multisparkEnable
|
||||
bit unusedBit_251_4
|
||||
bit unusedBit_251_5
|
||||
bit unusedBit_251_6
|
||||
|
@ -947,7 +949,8 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\
|
|||
! todo: mapErrorDetectionIdleTooLow? 30kPa is usually lowest on idle
|
||||
float mapErrorDetectionTooLow;kPa value which is too low to be true;"kPa", 1, 0, -100.0, 100.0, 2
|
||||
float mapErrorDetectionTooHigh;kPa value which is too high to be true;"kPa", 1, 0, -100.0, 800.0, 2
|
||||
uint8_t[4] unusedSomething;
|
||||
uint16_t multisparkSparkDuration;; "ms", 0.001, 0, 0, 3, 2
|
||||
uint16_t multisparkDwell;; "ms", 0.001, 0, 0, 3, 2
|
||||
pid_s idleRpmPid;See cltIdleRpmBins
|
||||
float wwaeBeta;+0 = No fuel settling on port walls 1 = All the fuel settling on port walls setting this to 0 disables the wall wetting enrichment. ;"Fraction", 1, 0, 0.0, 1.0, 2
|
||||
|
||||
|
|
|
@ -1206,6 +1206,8 @@ menuDialog = main
|
|||
|
||||
subMenu = dwellSettings, "Dwell", 0, {isIgnitionEnabled == 1}
|
||||
subMenu = ignitionCylExtra, "Ignition cylinder trim", 0, {isIgnitionEnabled == 1}
|
||||
; todo: once proven, uncomment and remove from the "broken" menu
|
||||
; subMenu = multisparkSettings, "Multispark", 0, {isIgnitionEnabled == 1}
|
||||
subMenu = std_separator
|
||||
|
||||
subMenu = ignitionTableTbl, "Ignition advance", 0, {isIgnitionEnabled == 1 && useTPSAdvanceTable == 0}
|
||||
|
@ -1323,6 +1325,7 @@ menuDialog = main
|
|||
|
||||
# EXPERIMENTAL FEATURES
|
||||
subMenu = parkingLot, "Experimental/Broken"
|
||||
subMenu = multisparkSettings, "Multispark", 0, {isIgnitionEnabled == 1}
|
||||
subMenu = std_separator
|
||||
|
||||
subMenu = hipFunction, "HIP9011 settings (knock sensor) (alpha version)" @@if_ts_show_hip9011
|
||||
|
@ -1602,7 +1605,23 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
field = "Extra cyl #10", timing_offset_cylinder10, {cylindersCount > 9}
|
||||
field = "Extra cyl #11", timing_offset_cylinder11, {cylindersCount > 10}
|
||||
field = "Extra cyl #12", timing_offset_cylinder12, {cylindersCount > 11}
|
||||
|
||||
|
||||
dialog = multisparkDwellParams, "Delay & Dwell"
|
||||
field = "Spark Duration", multisparkSparkDuration, {multisparkEnable}
|
||||
field = "Dwell", multisparkDwell, {multisparkEnable}
|
||||
|
||||
dialog = multisparkMain, "Configuration"
|
||||
field = "Maximum engine speed", multisparkMaxRpm, {multisparkEnable}
|
||||
field = "Fire sparks for this angle duration" multisparkMaxSparkingAngle, {multisparkEnable}
|
||||
field = "Maximum extra spark count" multisparkMaxExtraSparkCount, {multisparkEnable}
|
||||
|
||||
dialog = multisparkSettings, "Multispark"
|
||||
field = "#WARNING! These settings have the potential to overheat ignition components"
|
||||
field = "#and cause other nasty misbehavior. Use with care, at your own risk!"
|
||||
field = "Enable Multiple Sparks", multisparkEnable
|
||||
panel = multisparkMain
|
||||
panel = multisparkDwellParams
|
||||
|
||||
dialog = dwellSettings, "", yAxis
|
||||
panel = dwellCorrection, Center
|
||||
|
||||
|
|
Loading…
Reference in New Issue