Skip to content

Commit

Permalink
remove rate limit for this
Browse files Browse the repository at this point in the history
  • Loading branch information
cydia2020 authored Jun 23, 2024
1 parent 9beac98 commit d73e4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def update(self, CC, CS, now_nanos):
self.right_lane = hud_control.rightLaneVisible

# we can spam can to cancel the system even if we are using lat only control
if (self.frame % 3 == 0 and self.CP.openpilotLongitudinalControl) or pcm_cancel_cmd:
if (self.CP.openpilotLongitudinalControl) or pcm_cancel_cmd:
lead = self.lead or CS.out.vEgo < 12. # at low speed we always assume the lead is present so ACC can be engaged

# Press distance button until we are at the correct bar length. Only change while enabled to avoid skipping startup popup
Expand Down

0 comments on commit d73e4f8

Please sign in to comment.