From 8f433757cba15b147d058e681fee1e2cefcebe99 Mon Sep 17 00:00:00 2001 From: Shane Date: Sat, 27 Apr 2019 06:21:21 -0500 Subject: [PATCH] tuning --- selfdrive/controls/lib/long_mpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/long_mpc.py b/selfdrive/controls/lib/long_mpc.py index 4c86f5a3d1e01a..f88e3691419b57 100644 --- a/selfdrive/controls/lib/long_mpc.py +++ b/selfdrive/controls/lib/long_mpc.py @@ -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