From a522142feebe301a319ecf221f42dc12a2bc9b54 Mon Sep 17 00:00:00 2001 From: FrogAi <91348155+FrogAi@users.noreply.github.com> Date: Fri, 10 May 2024 23:56:04 -0700 Subject: [PATCH] Vehicles - Toyota - Stop and Go Hack Enable the 'Stop and Go' hack for vehicles without stock stop and go functionality. --- selfdrive/car/toyota/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index 06cf175de..4609c57eb 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -136,7 +136,7 @@ class CarController(CarControllerBase): # on entering standstill, send standstill request if CS.out.standstill and not self.last_standstill and (self.CP.carFingerprint not in NO_STOP_TIMER_CAR or self.CP.enableGasInterceptor): self.standstill_req = True - if CS.pcm_acc_status != 8: + if CS.pcm_acc_status != 8 or frogpilot_toggles.sng_hack: # pcm entered standstill or it's disabled self.standstill_req = False