Toyota: go into standstill if interceptor detected (#25024)

* Toyota: go into standstill if interceptor detected

* or
old-commit-hash: 407448bbfb
taco
cydia2020 3 years ago committed by GitHub
parent 21daf705f0
commit d5b436d592
  1. 2
      selfdrive/car/toyota/carcontroller.py

@ -81,7 +81,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:
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:
# pcm entered standstill or it's disabled

Loading…
Cancel
Save