Skip to content

Commit

Permalink
syntax error 1 bar / 2 bar tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGalaxy75 authored Dec 17, 2018
1 parent 663ece1 commit eb4bbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def update(self, CS, lead, v_cruise_setpoint):
self.street_speed = 0

# Is the gap from the lead car shrinking and car isn't accelerating?
if self.v_rel < -1 and and not CS.aEgo > 0.25:
if self.v_rel < -1 and not CS.aEgo > 0.25:
self.lead_car_gap_shrinking = 1
else:
self.lead_car_gap_shrinking = 0
Expand Down

0 comments on commit eb4bbe1

Please sign in to comment.