Use hyundaiLegacy safety model for Hyundai Elantra (#21108)
parent
e9e197eb3c
commit
bf0e0ae00b
|
@ -230,7 +230,7 @@ class CarInterface(CarInterfaceBase):
|
|||
# these cars require a special panda safety mode due to missing counters and checksums in the messages
|
||||
if candidate in [CAR.HYUNDAI_GENESIS, CAR.IONIQ_EV_2020, CAR.IONIQ_EV_LTD, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_SORENTO,
|
||||
CAR.SONATA_LF, CAR.KIA_NIRO_EV, CAR.KIA_OPTIMA, CAR.VELOSTER, CAR.KIA_STINGER, CAR.KIA_SELTOS,
|
||||
CAR.GENESIS_G70, CAR.GENESIS_G80, CAR.KIA_CEED]:
|
||||
CAR.GENESIS_G70, CAR.GENESIS_G80, CAR.KIA_CEED, CAR.ELANTRA]:
|
||||
ret.safetyModel = car.CarParams.SafetyModel.hyundaiLegacy
|
||||
|
||||
ret.centerToFront = ret.wheelbase * 0.4
|
||||
|
|
Loading…
Reference in New Issue