Cleanup boost control settings to disable PID options when using open loop

This commit is contained in:
Josh Stewart 2018-05-15 14:13:07 +10:00
parent a694651caa
commit ecfd621a01
1 changed files with 9 additions and 8 deletions

View File

@ -1522,19 +1522,20 @@ menuDialog = main
dialog = boostSettings, "Boost Control"
topicHelp = "http://speeduino.com/wiki/index.php/Boost_Control"
field = "Boost Control Enabled", boostEnabled
field = "Boost control type", boostType
field = "Boost output pin", boostPin, { boostEnabled }
field = "Boost solenoid freq.", boostFreq, { boostEnabled }
field = "Valve minimum duty cycle", boostMinDuty, { boostEnabled }
field = "Valve maximum duty cycle", boostMaxDuty, { boostEnabled }
field = "Valve minimum duty cycle", boostMinDuty, { boostEnabled && boostType == 1 }
field = "Valve maximum duty cycle", boostMaxDuty, { boostEnabled && boostType == 1 }
panel = boostCut
field = "Closed Loop settings"
field = "Control mode", boostMode, { boostEnabled }
slider = "Sensitivity", boostSens, horizontal, { boostEnabled }
field = "Control interval", boostIntv, { boostEnabled }
field = "P", boostKP, { boostEnabled && boostMode }
field = "I", boostKI, { boostEnabled && boostMode}
field = "D", boostKD, { boostEnabled && boostMode}
field = "Control mode", boostMode, { boostEnabled && boostType == 1 }
slider = "Sensitivity", boostSens, horizontal, { boostEnabled && boostType == 1 }
field = "Control interval", boostIntv, { boostEnabled && boostType == 1 }
field = "P", boostKP, { boostEnabled && boostMode && boostType == 1 }
field = "I", boostKI, { boostEnabled && boostMode && boostType == 1 }
field = "D", boostKD, { boostEnabled && boostMode && boostType == 1 }
dialog = vvtSettings, "VVT Control"