Toyota stop and go hack

Added toggle to force stop and go for Toyota vehicles.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 6fe645e21c
commit 1c58cd07ec
5 changed files with 5 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ class CarController:
pcm_cancel_cmd = 1
# 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):
if CS.out.standstill and not self.last_standstill and (self.CP.carFingerprint not in NO_STOP_TIMER_CAR or self.CP.enableGasInterceptor) and not frogpilot_variables.sng_hack:
self.standstill_req = True
if CS.pcm_acc_status != 8:
# pcm entered standstill or it's disabled