From a4c90765813e1cc3ab7afbe58cf23b392ec8181c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 7 Jul 2022 17:09:36 -0700 Subject: [PATCH] Hyundai: limit Kona torque (#25074) --- selfdrive/car/hyundai/values.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index f6efedb2488f8d..c55a0dc63949bb 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -32,6 +32,12 @@ def __init__(self, CP): CAR.IONIQ_EV_LTD, CAR.SANTA_FE_PHEV_2022, CAR.SONATA_LF, CAR.KIA_FORTE, CAR.KIA_NIRO_HEV, CAR.KIA_OPTIMA_H, CAR.KIA_SORENTO, CAR.KIA_STINGER): self.STEER_MAX = 255 + + # These cars have significantly more torque than most HKG. Limit to 70% of max. + elif CP.carFingerprint in (CAR.KONA, CAR.KONA_EV, CAR.KONA_HEV): + self.STEER_MAX = 270 + + # Default for most HKG else: self.STEER_MAX = 384