mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
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> old-commit-hash: 0926c269af9ac821cbeda319de2dd34f851bebe5
This commit is contained in:
@@ -125,8 +125,8 @@ class CarInterface(CarInterfaceBase):
|
||||
elif candidate in (CAR.KONA, CAR.KONA_EV, CAR.KONA_HEV):
|
||||
ret.lateralTuning.pid.kf = 0.00005
|
||||
ret.mass = {CAR.KONA_EV: 1685., CAR.KONA_HEV: 1425.}.get(candidate, 1275.) + STD_CARGO_KG
|
||||
ret.wheelbase = 2.7
|
||||
ret.steerRatio = 13.73 * 1.15 # Spec
|
||||
ret.wheelbase = 2.6
|
||||
ret.steerRatio = 13.42 # Spec
|
||||
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]]
|
||||
|
||||
Reference in New Issue
Block a user