Skip to content

Commit

Permalink
tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Apr 27, 2019
1 parent 07f7447 commit 8f43375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/long_mpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def dynamic_follow(self, velocity): # in m/s

stop_and_go_magic_number = 8.9408 # 20 mph

if velocity <= 0.044704: # .1 mph
if velocity <= 0.44704: # 1 mph
self.stop_and_go = True
elif velocity >= stop_and_go_magic_number:
self.stop_and_go = False
Expand Down

0 comments on commit 8f43375

Please sign in to comment.