mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
DM and volt auto hold
This commit is contained in:
@@ -1197,7 +1197,6 @@ class StarPilotVariables:
|
||||
GM_CAR.CHEVROLET_VOLT_ASCM,
|
||||
GM_CAR.CHEVROLET_VOLT_CAMERA,
|
||||
}
|
||||
gm_auto_hold_supported &= toggle.openpilot_longitudinal
|
||||
toggle.gm_auto_hold = self.get_value("GMAutoHold", condition=gm_auto_hold_supported)
|
||||
|
||||
toggle.volt_sng = self.get_value("VoltSNG", condition=toggle.car_model == "CHEVROLET_VOLT")
|
||||
|
||||
@@ -2189,7 +2189,7 @@
|
||||
{
|
||||
"key": "GMAutoHold",
|
||||
"label": "Volt Auto Hold",
|
||||
"description": "Hold the car at a stop on supported non-CC-only Chevy Volt alpha-longitudinal setups until the gas pedal is pressed.",
|
||||
"description": "Hold the car at a stop on supported non-CC-only Chevy Volts until the gas pedal is pressed.",
|
||||
"data_type": "bool",
|
||||
"ui_type": "toggle"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user