mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 20:43:53 +08:00
Toyota: go into standstill if interceptor detected (#25024)
* Toyota: go into standstill if interceptor detected * or
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user