Skip to content

Commit

Permalink
Merge pull request commaai#257 from ShaneSmiskol/release2
Browse files Browse the repository at this point in the history
tuning
  • Loading branch information
sshane authored Apr 27, 2019
2 parents 9457df0 + 8f43375 commit 53daffb
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 53daffb

Please sign in to comment.