From 4a0d01261ce5909767a462c48711827f927df37d Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 14:47:17 +0900 Subject: [PATCH 1/7] Update fingerprints.py --- opendbc_repo/opendbc/car/hyundai/fingerprints.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/opendbc_repo/opendbc/car/hyundai/fingerprints.py b/opendbc_repo/opendbc/car/hyundai/fingerprints.py index 617ba7ae4b..5f76f905e8 100644 --- a/opendbc_repo/opendbc/car/hyundai/fingerprints.py +++ b/opendbc_repo/opendbc/car/hyundai/fingerprints.py @@ -481,16 +481,28 @@ b'\xf1\x00JS LKAS AT USA LHD 1.00 1.02 95740-J3000 K32', ], }, - CAR.GENESIS_G70: { + CAR.GENESIS_G70: { # (IK) (Ecu.fwdRadar, 0x7d0, None): [ b'\xf1\x00IK__ SCC F-CUP 1.00 1.01 96400-G9100 ', b'\xf1\x00IK__ SCC F-CUP 1.00 1.02 96400-G9100 ', + # 2020 + b'\xf1\x00IK__ SCC FHCUP 1.00 1.02 96400-G9000 ', + b'\xf1\x00IK__ SCC FHCUP 1.00 1.00 99110-G9300 ', ], (Ecu.eps, 0x7d4, None): [ b'\xf1\x00IK MDPS R 1.00 1.06 57700-G9420 4I4VL106', + # 2020 + b'\xf1\x00IK MDPS R 1.00 1.07 57700-G9220 4I2VL107', + b'\xf1\x00IK MDPS R 1.00 1.07 57700-G9420 4I4VL107', + b'\xf1\x00IK MDPS R 1.00 1.08 57700-G9200 4I2CL108', + b'\xf1\x00IK MDPS R 1.00 1.08 57700-G9420 4I4VL108', + b'\xf1\x00IK MDPS R 1.00 5.09 57700-G9520 4I4VL509', ], (Ecu.fwdCamera, 0x7c4, None): [ b'\xf1\x00IK MFC AT USA LHD 1.00 1.01 95740-G9000 170920', + # 2020 + b'\xf1\x00IK MFC AT KOR LHD 1.00 1.01 95740-G9000 170920', + b'\xf1\x00IK MFC AT USA LHD 1.00 1.04 99211-G9000 220401', ], }, CAR.GENESIS_G70_2020: { From 8e3671e307c1918ccb99df01711144587f1c1d98 Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 14:53:24 +0900 Subject: [PATCH 2/7] Update hyundaican.py --- opendbc_repo/opendbc/car/hyundai/hyundaican.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/opendbc_repo/opendbc/car/hyundai/hyundaican.py b/opendbc_repo/opendbc/car/hyundai/hyundaican.py index d0c3f7f8f4..3292194bf9 100644 --- a/opendbc_repo/opendbc/car/hyundai/hyundaican.py +++ b/opendbc_repo/opendbc/car/hyundai/hyundaican.py @@ -36,9 +36,15 @@ def create_lkas11(packer, frame, CP, apply_torque, steer_req, values["CF_Lkas_MsgCount"] = frame % 0x10 - if CP.flags & HyundaiFlags.SEND_LFA.value or CP.carFingerprint in (CAR.HYUNDAI_SANTA_FE): - values["CF_Lkas_LdwsActivemode"] = int(left_lane) + (int(right_lane) << 1) - values["CF_Lkas_LdwsOpt_USM"] = 0 if CP.carFingerprint in (CAR.KIA_RAY_EV) else 2 + if CP.carFingerprint in (CAR.HYUNDAI_SONATA, CAR.HYUNDAI_PALISADE, CAR.KIA_NIRO_EV, CAR.KIA_NIRO_HEV_2021, CAR.KIA_NIRO_PHEV_2022, CAR.HYUNDAI_SANTA_FE, + CAR.HYUNDAI_IONIQ_EV_2020, CAR.HYUNDAI_IONIQ_PHEV, CAR.KIA_SELTOS, CAR.HYUNDAI_ELANTRA_2021, CAR.GENESIS_G70_2020, + CAR.HYUNDAI_ELANTRA_HEV_2021, CAR.HYUNDAI_SONATA_HYBRID, CAR.HYUNDAI_KONA_EV, CAR.HYUNDAI_KONA_HEV, CAR.HYUNDAI_KONA_EV_2022, + CAR.HYUNDAI_SANTA_FE_2022, CAR.KIA_K5_2021, CAR.HYUNDAI_IONIQ_HEV_2022, CAR.HYUNDAI_SANTA_FE_HEV_2022, + CAR.HYUNDAI_SANTA_FE_PHEV_2022, CAR.KIA_STINGER_2022, CAR.KIA_K5_HEV_2020, CAR.KIA_CEED, + CAR.HYUNDAI_AZERA_6TH_GEN, CAR.HYUNDAI_AZERA_HEV_6TH_GEN, CAR.HYUNDAI_CUSTIN_1ST_GEN, CAR.HYUNDAI_KONA_2022, CAR.GENESIS_G70, CAR.GENESIS_G70_2024): + values["CF_Lkas_LdwsActivemode"] = int(left_lane) + (int(right_lane) << 1) + values["CF_Lkas_LdwsOpt_USM"] = 2 + # FcwOpt_USM 5 = Orange blinking car + lanes # FcwOpt_USM 4 = Orange car + lanes From 451b6edc79ae84199536c521a29e5fba68e84ff9 Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 15:04:30 +0900 Subject: [PATCH 3/7] Update values.py --- opendbc_repo/opendbc/car/hyundai/values.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opendbc_repo/opendbc/car/hyundai/values.py b/opendbc_repo/opendbc/car/hyundai/values.py index 590359e267..f08d83e594 100644 --- a/opendbc_repo/opendbc/car/hyundai/values.py +++ b/opendbc_repo/opendbc/car/hyundai/values.py @@ -670,6 +670,11 @@ class CAR(Platforms): GENESIS_G70.specs, flags=HyundaiFlags.MANDO_RADAR, ) + GENESIS_G70_2024 = HyundaiPlatformConfig( + [HyundaiCarDocs("Genesis G70 2024", "All", car_parts=CarParts.common([CarHarness.hyundai_l]))], + CarSpecs(mass=1769, wheelbase=2.83, steerRatio=12.9), # steerRatio guesstimate from G70 1st Gen platform + flags=HyundaiFlags.CHECKSUM_CRC8 | HyundaiFlags.CAMERA_SCC, + ) GENESIS_GV70_1ST_GEN = HyundaiCanFDPlatformConfig( [ # TODO: Hyundai P is likely the correct harness for HDA II for 2.5T (unsupported due to missing ADAS ECU, is that the radar?) From 8428bf57fc93ad1c30189de069e13f360beed3e4 Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 15:06:58 +0900 Subject: [PATCH 4/7] Update override.toml --- opendbc_repo/opendbc/car/torque_data/override.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/opendbc_repo/opendbc/car/torque_data/override.toml b/opendbc_repo/opendbc/car/torque_data/override.toml index 2b4a2dd11c..bdaac0961a 100644 --- a/opendbc_repo/opendbc/car/torque_data/override.toml +++ b/opendbc_repo/opendbc/car/torque_data/override.toml @@ -55,6 +55,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"] "VOLKSWAGEN_SHARAN_MK2" = [2.5, 2.5, 0.1] "HYUNDAI_SANTA_CRUZ_1ST_GEN" = [2.7, 2.7, 0.1] "KIA_SPORTAGE_5TH_GEN" = [2.6, 2.6, 0.1] +"GENESIS_G70_2024" = [2.7, 2.7, 0.11] "GENESIS_GV70_1ST_GEN" = [2.42, 2.42, 0.1] "GENESIS_GV60_EV_1ST_GEN" = [2.5, 2.5, 0.1] "GMC_YUKON" = [1.2, 2.5, 0.26] From 80d8c241e8921510a6b8ef6f996a4c30e3595394 Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 15:12:25 +0900 Subject: [PATCH 5/7] Update fingerprints.py --- opendbc_repo/opendbc/car/hyundai/fingerprints.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/opendbc_repo/opendbc/car/hyundai/fingerprints.py b/opendbc_repo/opendbc/car/hyundai/fingerprints.py index 5f76f905e8..23a1afa28d 100644 --- a/opendbc_repo/opendbc/car/hyundai/fingerprints.py +++ b/opendbc_repo/opendbc/car/hyundai/fingerprints.py @@ -527,6 +527,14 @@ b'\xf1\x00IK MFC AT USA LHD 1.00 1.04 99211-G9000 220401', ], }, + CAR.GENESIS_G70_2024: { + (Ecu.fwdCamera, 0x7c4, None): [ + b'\xf1\x00IK MFC AT USA LHD 1.00 1.02 99211-G9500 230712', + ], + (Ecu.fwdRadar, 0x7d0, None): [ + b'\xf1\x00IKPE RDR ----- 1.00 1.00 99110-G9600 ', + ], + }, CAR.GENESIS_G80: { (Ecu.fwdRadar, 0x7d0, None): [ b'\xf1\x00DH__ SCC F-CU- 1.00 1.01 96400-B1110 ', From 9164b6b628530515168caa130bc6510bf9d757fa Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Thu, 7 May 2026 22:23:22 +0900 Subject: [PATCH 6/7] Add files via upload --- prebuilt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 prebuilt diff --git a/prebuilt b/prebuilt new file mode 100644 index 0000000000..e69de29bb2 From b2e101efaee3e9ca4e6006ce48faa3a404f74547 Mon Sep 17 00:00:00 2001 From: qqunilove <66712662+qqunilove@users.noreply.github.com> Date: Wed, 13 May 2026 07:40:52 +0900 Subject: [PATCH 7/7] Delete prebuilt --- prebuilt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 prebuilt diff --git a/prebuilt b/prebuilt deleted file mode 100644 index e69de29bb2..0000000000