|
|
|
@ -103,17 +103,12 @@ class CarInterface(CarInterfaceBase): |
|
|
|
|
ret.wheelbase = 2.6 |
|
|
|
|
ret.steerRatio = 13.42 # Spec |
|
|
|
|
tire_stiffness_factor = 0.385 |
|
|
|
|
elif candidate in (CAR.IONIQ, CAR.IONIQ_EV_LTD, CAR.IONIQ_EV_2020, CAR.IONIQ_PHEV, CAR.IONIQ_HEV_2022): |
|
|
|
|
elif candidate in (CAR.IONIQ, CAR.IONIQ_EV_LTD, CAR.IONIQ_PHEV_2019, CAR.IONIQ_HEV_2022, CAR.IONIQ_EV_2020, CAR.IONIQ_PHEV): |
|
|
|
|
ret.mass = 1490. + STD_CARGO_KG # weight per hyundai site https://www.hyundaiusa.com/ioniq-electric/specifications.aspx |
|
|
|
|
ret.wheelbase = 2.7 |
|
|
|
|
ret.steerRatio = 13.73 # Spec |
|
|
|
|
tire_stiffness_factor = 0.385 |
|
|
|
|
if candidate not in (CAR.IONIQ_EV_2020, CAR.IONIQ_PHEV, CAR.IONIQ_HEV_2022): |
|
|
|
|
ret.minSteerSpeed = 32 * CV.MPH_TO_MS |
|
|
|
|
elif candidate == CAR.IONIQ_PHEV_2019: |
|
|
|
|
ret.mass = 1550. + STD_CARGO_KG # weight per hyundai site https://www.hyundaiusa.com/us/en/vehicles/2019-ioniq-plug-in-hybrid/compare-specs |
|
|
|
|
ret.wheelbase = 2.7 |
|
|
|
|
ret.steerRatio = 13.73 |
|
|
|
|
if candidate in (CAR.IONIQ, CAR.IONIQ_EV_LTD, CAR.IONIQ_PHEV_2019): |
|
|
|
|
ret.minSteerSpeed = 32 * CV.MPH_TO_MS |
|
|
|
|
elif candidate == CAR.VELOSTER: |
|
|
|
|
ret.mass = 3558. * CV.LB_TO_KG |
|
|
|
|