Honda Bosch Radarless: use CarControllerParams variable

old-commit-hash: 51c3f43205048948d49d1c969c71ebb46c3fc53e
This commit is contained in:
Shane Smiskol
2023-03-30 12:19:48 -07:00
parent 77ce14cf0b
commit 730450d71e
+1 -1
View File
@@ -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.]