Honda Bosch Radarless: use CarControllerParams variable

pull/27752/head
Shane Smiskol 2 years ago
parent fe49fbf8ec
commit 51c3f43205
  1. 2
      selfdrive/car/honda/interface.py

@ -74,7 +74,7 @@ class CarInterface(CarInterfaceBase):
ret.longitudinalTuning.kiV = [0.05]
ret.longitudinalActuatorDelayUpperBound = 0.5 # s
if candidate in HONDA_BOSCH_RADARLESS:
ret.stopAccel = -3.5 # stock uses -4.0 m/s^2 once stopped but limited by safety model
ret.stopAccel = CarControllerParams.BOSCH_ACCEL_MIN # stock uses -4.0 m/s^2 once stopped but limited by safety model
else:
# default longitudinal tuning for all hondas
ret.longitudinalTuning.kpBP = [0., 5., 35.]

Loading…
Cancel
Save