Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions selfdrive/car/hyundai/fingerprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@
}

FW_VERSIONS = {
CAR.HYUNDAI_GRANDEUR_DIESEL_2019: {
(Ecu.fwdRadar, 0x7d0, None): [
b'\xf1\x00IG__ SCC FHCUP 1.00 1.01 96400-G8500 ',
],
(Ecu.eps, 0x7d4, None): [
b'\xf1\x00IG MDPS C 1.00 1.01 56310G8350\x00 4IG8C101',
],
(Ecu.fwdCamera, 0x7c4, None): [
b'\xf1\x00IG MFC AT KOR LHD 1.00 1.00 95740-M9200 170919',
],
},
CAR.HYUNDAI_AZERA_6TH_GEN: {
(Ecu.fwdRadar, 0x7d0, None): [
b'\xf1\x00IG__ SCC F-CU- 1.00 1.00 99110-G8100 ',
Expand Down
5 changes: 5 additions & 0 deletions selfdrive/car/hyundai/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ def init(self):

class CAR(Platforms):
# Hyundai
HYUNDAI_GRANDEUR_DIESEL_2019 = HyundaiPlatformConfig(
[HyundaiCarDocs("Hyundai Azera Diesel 19", "All", car_parts=CarParts.common([CarHarness.hyundai_c]))],
CarSpecs(mass=1650, wheelbase=2.885, steerRatio=14.5),
flags=HyundaiFlags.CLUSTER_GEARS,
)
HYUNDAI_AZERA_6TH_GEN = HyundaiPlatformConfig(
[HyundaiCarDocs("Hyundai Azera 2022", "All", car_parts=CarParts.common([CarHarness.hyundai_k]))],
CarSpecs(mass=1600, wheelbase=2.885, steerRatio=14.5),
Expand Down
1 change: 1 addition & 0 deletions selfdrive/car/torque_data/override.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"]
"KIA_CARNIVAL_4TH_GEN" = [1.75, 1.75, 0.15]
"GMC_ACADIA" = [1.6, 1.6, 0.2]
"LEXUS_IS_TSS2" = [2.0, 2.0, 0.1]
"HYUNDAI_GRANDEUR_DIESEL_2019" = [1.8, 1.8, 0.1]
"HYUNDAI_KONA_EV_2ND_GEN" = [2.5, 2.5, 0.1]
"HYUNDAI_IONIQ_6" = [2.5, 2.5, 0.005]
"HYUNDAI_AZERA_6TH_GEN" = [1.8, 1.8, 0.1]
Expand Down