diff --git a/opendbc/car/honda/interface.py b/opendbc/car/honda/interface.py index adc3a61800..aff43ff4bb 100755 --- a/opendbc/car/honda/interface.py +++ b/opendbc/car/honda/interface.py @@ -94,7 +94,7 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime elif candidate in (CAR.HONDA_CIVIC_BOSCH, CAR.HONDA_CIVIC_BOSCH_DIESEL, CAR.HONDA_CIVIC_2022): ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 4096], [0, 4096]] # TODO: determine if there is a dead zone at the top end - ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.8], [0.24]] + CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning) elif candidate == CAR.HONDA_ACCORD: ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 4096], [0, 4096]] # TODO: determine if there is a dead zone at the top end @@ -204,7 +204,7 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime ret.autoResumeSng = candidate in (HONDA_BOSCH | {CAR.HONDA_CIVIC}) ret.minEnableSpeed = -1. if ret.autoResumeSng else 25.51 * CV.MPH_TO_MS - ret.steerActuatorDelay = 0.1 + ret.steerActuatorDelay = 0.5 if candidate in CAR.HONDA_CIVIC_2022 else 0.1 ret.steerLimitTimer = 0.8 ret.radarDelay = 0.1 diff --git a/opendbc/car/torque_data/override.toml b/opendbc/car/torque_data/override.toml index f4bcea748a..4849585927 100644 --- a/opendbc/car/torque_data/override.toml +++ b/opendbc/car/torque_data/override.toml @@ -78,5 +78,5 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"] "MOCK" = [10.0, 10, 0.0] # Manually checked -"HONDA_CIVIC_2022" = [2.5, 1.2, 0.15] +"HONDA_CIVIC_2022" = [1.25, 1.2, 0.22] "HONDA_HRV_3G" = [2.5, 1.2, 0.2]