Skip to content

Commit d2ca186

Browse files
HKG: Car Port for Genesis G80 2024 (2.5T, HDA2) (#1132)
* HKG: Car Port for Genesis G80 2024 (2.5T, HDA2) * Apply #1284 * Apply #1285 * add test route * Update opendbc/car/hyundai/values.py Co-authored-by: Jason Young <[email protected]> --------- Co-authored-by: Jason Young <[email protected]>
1 parent d332152 commit d2ca186

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

opendbc/car/hyundai/fingerprints.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,14 @@
498498
b'\xf1\x00DH LKAS AT USA LHD 1.01 1.04 95895-B1500 181213',
499499
],
500500
},
501+
CAR.GENESIS_G80_2ND_GEN_FL: {
502+
(Ecu.fwdRadar, 0x7d0, None): [
503+
b'\xf1\x00RG3_ SCC ----- 1.00 1.02 99110-T1120 ',
504+
],
505+
(Ecu.fwdCamera, 0x7c4, None): [
506+
b'\xf1\x00RG3 MFC AT USA LHD 1.00 1.01 99211-T1200 230607',
507+
],
508+
},
501509
CAR.GENESIS_G90: {
502510
(Ecu.fwdRadar, 0x7d0, None): [
503511
b'\xf1\x00HI__ SCC F-CUP 1.00 1.01 96400-D2100 ',

opendbc/car/hyundai/values.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,10 @@ class CAR(Platforms):
539539
CarSpecs(mass=2060, wheelbase=3.01, steerRatio=16.5),
540540
flags=HyundaiFlags.LEGACY,
541541
)
542+
GENESIS_G80_2ND_GEN_FL = HyundaiCanFDPlatformConfig(
543+
[HyundaiCarDocs("Genesis G80 (2.5T Advanced Trim, with HDA II) 2024", "Highway Driving Assist II", car_parts=CarParts.common([CarHarness.hyundai_p]))],
544+
CarSpecs(mass=2060, wheelbase=3.00, steerRatio=14.0),
545+
)
542546
GENESIS_G90 = HyundaiPlatformConfig(
543547
[HyundaiCarDocs("Genesis G90 2017-20", "All", car_parts=CarParts.common([CarHarness.hyundai_c]))],
544548
CarSpecs(mass=2200, wheelbase=3.15, steerRatio=12.069),

opendbc/car/tests/routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class CarTestRoute(NamedTuple):
110110
CarTestRoute("afe09b9f5d3f3548/00000011--15fefe1c50", HYUNDAI.GENESIS_GV70_ELECTRIFIED_1ST_GEN),
111111
CarTestRoute("afe09b9f5d3f3548/0000001b--a1129a4a15", HYUNDAI.GENESIS_GV70_ELECTRIFIED_1ST_GEN), # openpilot longitudinal enabled
112112
CarTestRoute("6b301bf83f10aa90|2020-11-22--16-45-07", HYUNDAI.GENESIS_G80),
113+
CarTestRoute("66eaa6c3b6b2afc6/00000009--3a5199aabe", HYUNDAI.GENESIS_G80_2ND_GEN_FL), # HDA2
113114
CarTestRoute("0bbe367c98fa1538|2023-09-16--00-16-49", HYUNDAI.HYUNDAI_CUSTIN_1ST_GEN),
114115
CarTestRoute("f0709d2bc6ca451f|2022-10-15--08-13-54", HYUNDAI.HYUNDAI_SANTA_CRUZ_1ST_GEN),
115116
CarTestRoute("4dbd55df87507948|2022-03-01--09-45-38", HYUNDAI.HYUNDAI_SANTA_FE),

opendbc/car/torque_data/override.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"]
6666
"LEXUS_GS_F" = [2.5, 2.5, 0.08]
6767
"HYUNDAI_STARIA_4TH_GEN" = [1.8, 2.0, 0.15]
6868
"GENESIS_GV70_ELECTRIFIED_1ST_GEN" = [1.9, 1.9, 0.09]
69+
"GENESIS_G80_2ND_GEN_FL" = [2.5819356441497803, 2.5, 0.11244568973779678]
6970

7071
# Dashcam or fallback configured as ideal car
7172
"MOCK" = [10.0, 10, 0.0]

0 commit comments

Comments
 (0)