From 8b6564008c001a994e5a9464e39287bfe6612b00 Mon Sep 17 00:00:00 2001 From: Lee Jong Mun <43285072+crwusiz@users.noreply.github.com> Date: Wed, 26 Feb 2025 13:02:55 +0900 Subject: [PATCH] fix (#137) DRIVERS_GRASP_NOT_DETECTED_DRIVING_SPEED_WILL_BE_LIMITED --- opendbc_repo/opendbc/car/hyundai/hyundaicanfd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendbc_repo/opendbc/car/hyundai/hyundaicanfd.py b/opendbc_repo/opendbc/car/hyundai/hyundaicanfd.py index 429f806..1c2d0bf 100644 --- a/opendbc_repo/opendbc/car/hyundai/hyundaicanfd.py +++ b/opendbc_repo/opendbc/car/hyundai/hyundaicanfd.py @@ -460,7 +460,7 @@ def create_adrv_messages(CP, packer, CAN, frame, CC, CS, hud_control, disp_angle values["LKA_ICON"] = 4 if lat_active else 3 values["FCA_ALT_ICON"] = 0 - if values["ALERTS_2"] <= 5: + if values["ALERTS_2"] == 5: values["ALERTS_2"] = 0 values["SOUNDS_2"] = 0 values["DAW_ICON"] = 0 @@ -468,7 +468,7 @@ def create_adrv_messages(CP, packer, CAN, frame, CC, CS, hud_control, disp_angle if values["ALERTS_3"] in [17, 26]: values["ALERTS_3"] = 0 - if values["ALERTS_5"] in [4, 5]: + if values["ALERTS_5"] in [1, 4, 5]: values["ALERTS_5"] = 0 curvature = {