From f57a346df5e6f3c6ab19875b843633c0571d16e3 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 1 Mar 2024 16:48:51 -0800 Subject: [PATCH] as a test see what happens if we exceeed CP.flags --- selfdrive/car/hyundai/values.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index 8802a36f46..d7440d24ff 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -94,6 +94,16 @@ class HyundaiFlags(IntFlag): TCU_GEARS = 2 ** 22 MIN_STEER_32_MPH = 2 ** 23 + MIN_STEER_32_MPH1 = 2 ** 24 + MIN_STEER_32_MPH2 = 2 ** 25 + MIN_STEER_32_MPH3 = 2 ** 26 + MIN_STEER_32_MPH4 = 2 ** 27 + MIN_STEER_32_MPH5 = 2 ** 28 + MIN_STEER_32_MPH6 = 2 ** 29 + MIN_STEER_32_MPH7 = 2 ** 30 + MIN_STEER_32_MPH8 = 2 ** 31 + MIN_STEER_32_MPH9 = 2 ** 32 + MIN_STEER_32_MPH10 = 2 ** 33 class Footnote(Enum): @@ -147,7 +157,7 @@ class CAR(Platforms): HyundaiCarInfo("Hyundai Azera Hybrid 2020", "All", car_parts=CarParts.common([CarHarness.hyundai_k])), ], CarSpecs(mass=1675, wheelbase=2.885, steerRatio=14.5), - flags=HyundaiFlags.HYBRID + flags=HyundaiFlags.HYBRID | HyundaiFlags.MIN_STEER_32_MPH10, ) ELANTRA = HyundaiPlatformConfig( "HYUNDAI ELANTRA 2017",