Skip to content

Commit

Permalink
SnG hack
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichMoraga authored Jul 23, 2021
1 parent 0b1c45d commit 32321bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def update(self, enabled, CS, frame, actuators, pcm_cancel_cmd, hud_alert,
pcm_cancel_cmd = 1

# on entering standstill, send standstill request
if CS.out.standstill and not self.last_standstill and CS.CP.carFingerprint not in NO_STOP_TIMER_CAR:
self.standstill_req = True
# if CS.out.standstill and not self.last_standstill and CS.CP.carFingerprint not in NO_STOP_TIMER_CAR:
# self.standstill_req = True
if CS.pcm_acc_status != 8:
# pcm entered standstill or it's disabled
self.standstill_req = False
Expand Down

0 comments on commit 32321bb

Please sign in to comment.