mirror of
https://github.com/infiniteCable2/opendbc.git
synced 2026-06-08 10:54:51 +08:00
Toyota: Gas Interceptor always set standstill_req (#437)
This commit is contained in:
@@ -176,7 +176,7 @@ class CarController(CarControllerBase, GasInterceptorCarController):
|
||||
|
||||
# on entering standstill, send standstill request for older TSS-P cars that aren't designed to stay engaged at a stop
|
||||
if self.CP.carFingerprint not in NO_STOP_TIMER_CAR or self.CP_SP.enableGasInterceptor:
|
||||
if CS.out.standstill and not self.last_standstill and not self.CP_SP.flags & ToyotaFlagsSP.STOP_AND_GO_HACK:
|
||||
if CS.out.standstill and not self.last_standstill and (self.CP_SP.enableGasInterceptor or not self.CP_SP.flags & ToyotaFlagsSP.STOP_AND_GO_HACK):
|
||||
self.standstill_req = True
|
||||
if CS.pcm_acc_status != 8:
|
||||
# pcm entered standstill or it's disabled
|
||||
|
||||
Reference in New Issue
Block a user