kia stinger: use hyundaiLegacy safety mode and add test route

albatross
Adeeb Shihadeh 2020-07-26 14:09:49 -07:00
parent 892e1162c0
commit 360cd7d8a8
2 changed files with 5 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class CarInterface(CarInterfaceBase):
ret.lateralTuning.pid.kpV, ret.lateralTuning.pid.kiV = [[0.25], [0.05]]
# 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_LTD, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_SORENTO, CAR.SONATA_2019, CAR.KIA_OPTIMA]:
if candidate in [CAR.HYUNDAI_GENESIS, CAR.IONIQ_EV_LTD, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_SORENTO, CAR.SONATA_2019, CAR.KIA_OPTIMA, CAR.KIA_STINGER]:
ret.safetyModel = car.CarParams.SafetyModel.hyundaiLegacy
ret.centerToFront = ret.wheelbase * 0.4

View File

@ -208,6 +208,10 @@ routes = {
'carFingerprint': HYUNDAI.IONIQ,
'enableCamera': True,
},
"5dddcbca6eb66c62|2020-07-26--13-24-19": {
'carFingerprint': HYUNDAI.KIA_STINGER,
'enableCamera': True,
},
"f7b6be73e3dfd36c|2019-05-12--18-07-16": {
'carFingerprint': TOYOTA.AVALON,
'enableCamera': False,