Hyundai: fix wheelbase and steeringratio for Kona, Kona HEV , Kona EV (#24464)

* Update interface.py

* Update interface.py

* Update selfdrive/car/hyundai/interface.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
pull/24505/head
haram-KONA 3 years ago committed by GitHub
parent 3863a88356
commit 0926c269af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/car/hyundai/interface.py

@ -125,8 +125,8 @@ class CarInterface(CarInterfaceBase):
elif candidate in (CAR.KONA, CAR.KONA_EV, CAR.KONA_HEV): elif candidate in (CAR.KONA, CAR.KONA_EV, CAR.KONA_HEV):
ret.lateralTuning.pid.kf = 0.00005 ret.lateralTuning.pid.kf = 0.00005
ret.mass = {CAR.KONA_EV: 1685., CAR.KONA_HEV: 1425.}.get(candidate, 1275.) + STD_CARGO_KG ret.mass = {CAR.KONA_EV: 1685., CAR.KONA_HEV: 1425.}.get(candidate, 1275.) + STD_CARGO_KG
ret.wheelbase = 2.7 ret.wheelbase = 2.6
ret.steerRatio = 13.73 * 1.15 # Spec ret.steerRatio = 13.42 # Spec
tire_stiffness_factor = 0.385 tire_stiffness_factor = 0.385
ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]] ret.lateralTuning.pid.kiBP, ret.lateralTuning.pid.kpBP = [[0.], [0.]]
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]] ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]]

Loading…
Cancel
Save