From bf5dfac4a47d89c074a43883637f2a0ba8ef7f63 Mon Sep 17 00:00:00 2001 From: xps-genesis <65239463+xps-genesis@users.noreply.github.com> Date: Thu, 23 Jul 2020 18:45:19 -0400 Subject: [PATCH] Use hyundai legacy safety for Kia Sorento (#1912) confirmed kia sorento to use legacy safety checks old-commit-hash: 3a1b08eb9d0f82f4b15862431fe5164e752c1509 --- selfdrive/car/hyundai/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index c6b4780ff4..0245cf87b8 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -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]: + if candidate in [CAR.HYUNDAI_GENESIS, CAR.IONIQ_EV_LTD, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_SORENTO]: ret.safetyModel = car.CarParams.SafetyModel.hyundaiLegacy ret.centerToFront = ret.wheelbase * 0.4