Vehicles - Toyota - Stop and Go Hack

Enable the 'Stop and Go' hack for vehicles without stock stop and go functionality.
This commit is contained in:
FrogAi
2024-05-10 23:56:04 -07:00
parent b7589d0810
commit a522142fee
+1 -1
View File
@@ -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