diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index 55a3a4399a..5e5c2eecc2 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -283,6 +283,11 @@ class CarInterface(CarInterfaceBase): ret.mass = 3673.0 * CV.LB_TO_KG + STD_CARGO_KG ret.wheelbase = 2.83 ret.steerRatio = 12.9 + elif candidate == CAR.GENESIS_GV70_1ST_GEN: + ret.mass = 1950. + STD_CARGO_KG + ret.wheelbase = 2.87 + ret.steerRatio = 14.6 + CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning) elif candidate == CAR.GENESIS_G80: ret.lateralTuning.pid.kf = 0.00005 ret.mass = 2060. + STD_CARGO_KG diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index 19a64c3824..8d77c355e2 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -1416,6 +1416,20 @@ FW_VERSIONS = { b'\xf1\x8739100-2S226\xf1\x81HM6M1_0a0_L70', ], }, + CAR.GENESIS_GV70_1ST_GEN: { + (Ecu.eps, 0x7d4, None): [ + b'\xf1\x8757700AR000 \xf1\x00JK MDPS R 1.00 1.04 57700AR000 4JKDR104', + ], + (Ecu.fwdCamera, 0x7c4, None): [ + b'\xf1\x00JK1 MFC AT USA LHD 1.00 1.04 99211-AR000 210204', + ], + (Ecu.transmission, 0x7e1, None): [ + b'\xf1\x8795441-47785\x00\xf1\x89G16\x00\x00\x00\x00\x00\x00\x00\xf1\x82SJK1T25XXXG16NS0', + ], + (Ecu.engine, 0x7e0, None): [ + b'\xf1\x82JKBWD5TMA3XXXH0E' + ], + }, } CHECKSUM = { @@ -1493,4 +1507,5 @@ DBC = { CAR.IONIQ_5: dbc_dict('hyundai_canfd', None), CAR.SANTA_CRUZ_1ST_GEN: dbc_dict('hyundai_canfd', None), CAR.KIA_SPORTAGE_5TH_GEN: dbc_dict('hyundai_canfd', None), + CAR.GENESIS_GV70_1ST_GEN: dbc_dict('hyundai_canfd', None), }