Hyundai: Kona torque tune (#25426)

* Hyundai: Kona EV 2022 torque tune

* Update selfdrive/car/hyundai/interface.py

* update for all
This commit is contained in:
Adeeb Shihadeh
2022-08-16 13:18:39 -07:00
committed by GitHub
parent 76a4daefff
commit 0258ef74ff
+1
View File
@@ -122,6 +122,7 @@ class CarInterface(CarInterfaceBase):
tire_stiffness_factor = 0.385
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]]
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]]
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
elif candidate in (CAR.IONIQ, CAR.IONIQ_EV_LTD, CAR.IONIQ_EV_2020, CAR.IONIQ_PHEV, CAR.IONIQ_HEV_2022):
ret.lateralTuning.pid.kf = 0.00006
ret.mass = 1490. + STD_CARGO_KG # weight per hyundai site https://www.hyundaiusa.com/ioniq-electric/specifications.aspx