Skip to content

Commit 5f49d23

Browse files
committed
Use torque tune for passport
1 parent fdc36cc commit 5f49d23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

selfdrive/car/honda/interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ def get_params(candidate, fingerprint=gen_empty_fingerprint(), car_fw=[], disabl
256256
ret.steerRatio = 17.25 # as spec
257257
ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 4096], [0, 4096]] # TODO: determine if there is a dead zone at the top end
258258
tire_stiffness_factor = 0.444
259-
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.38], [0.11]]
259+
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
260+
# ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.38], [0.11]]
260261

261262
elif candidate == CAR.RIDGELINE:
262263
stop_and_go = False

0 commit comments

Comments
 (0)