From 116edceba52f6ee13e9998d0652a580ef880ea46 Mon Sep 17 00:00:00 2001 From: Kumar <36933347+rav4kumar@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:03:04 -0700 Subject: [PATCH] Update interface.py --- selfdrive/car/toyota/interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index c3b022c481..42d05e1a1d 100644 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -165,14 +165,14 @@ class CarInterface(CarInterfaceBase): # hand tuned (August 12, 2024) def custom_tss2_longitudinal_tuning(): - ret.vEgoStopping = 0.17 + ret.vEgoStopping = 0.15 ret.vEgoStarting = 0.05 ret.stopAccel = -2.0 ret.stoppingDecelRate = 0.005 # reach stopping target smoothly def default_tss2_longitudinal_tuning(): ret.vEgoStopping = 0.15 - ret.vEgoStarting = 0.15 + ret.vEgoStarting = 0.05 ret.stoppingDecelRate = 0.5 # reach stopping target smoothly def default_longitudinal_tuning(): @@ -187,7 +187,7 @@ class CarInterface(CarInterfaceBase): #tune.kpBP = [0., 5., 20.] #tune.kpV = [2.3, 1.0, 0.7] tune.kiBP = [0., 3., 8., 20., 27., 40.] - tune.kiV = [.35, .25, .21, .17, .10, .06] + tune.kiV = [.35, .24, .20, .17, .10, .06] custom_tss2_longitudinal_tuning() else: tune.kpV = [0.0]