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:
parent
8d625882ba
commit
4cc1c2dbca
@ -149,7 +149,7 @@ class CarController(CarControllerBase):
|
|||||||
pcm_cancel_cmd = 1
|
pcm_cancel_cmd = 1
|
||||||
|
|
||||||
# on entering standstill, send standstill request
|
# 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
|
self.standstill_req = True
|
||||||
if CS.pcm_acc_status != 8:
|
if CS.pcm_acc_status != 8:
|
||||||
# pcm entered standstill or it's disabled
|
# pcm entered standstill or it's disabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user