From d369aa87afd5a05abb9a24997f3d155e715bf7d9 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Mon, 17 Dec 2018 05:16:04 +0000 Subject: [PATCH] Pedal lurch prevention v8 - almost there --- selfdrive/car/honda/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/honda/interface.py b/selfdrive/car/honda/interface.py index 9f54b491b48b1a..8b993e36a9f093 100755 --- a/selfdrive/car/honda/interface.py +++ b/selfdrive/car/honda/interface.py @@ -362,10 +362,10 @@ def get_params(candidate, fingerprint): # prevent lurching when resuming if ret.enableGasInterceptor: - ret.gasMaxBP = [0., 5, 35] + ret.gasMaxBP = [0., 6, 35] ret.gasMaxV = [0.2, 0.6, 0.6] ret.longitudinalKpBP = [0., 5., 35.] - ret.longitudinalKpV = [1.0, 0.8, 0.5] + ret.longitudinalKpV = [0.8, 0.8, 0.5] else: ret.gasMaxBP = [0.] # m/s ret.gasMaxV = [0.] # max gas allowed