DM and volt auto hold

This commit is contained in:
firestar5683
2026-04-30 11:01:46 -05:00
parent 8ec92d12fd
commit 4503811202
8 changed files with 182 additions and 28 deletions
-1
View File
@@ -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"
},