Add SASCM to vehicle settings detection/stats

This commit is contained in:
firestarsdog
2026-01-19 04:20:27 -05:00
committed by firestar5683
parent 93af0e0450
commit 0ecfebfcdb
30 changed files with 217 additions and 37 deletions
+1
View File
@@ -569,6 +569,7 @@ class FrogPilotVariables:
toggle.has_pedal = CP.enableGasInterceptor
has_radar = not CP.radarUnavailable
toggle.has_sdsu = toggle.car_make == "toyota" and bool(CP.flags & ToyotaFlags.SMART_DSU.value)
toggle.has_sascm = toggle.car_make == "gm" and bool(CP.flags & GMFlags.SASCM.value)
has_sng = CP.autoResumeSng
toggle.has_zss = toggle.car_make == "toyota" and bool(FPCP.fpFlags & ToyotaFrogPilotFlags.ZSS.value)
is_angle_car = CP.steerControlType == car.CarParams.SteerControlType.angle