Add sonata firmware version

old-commit-hash: 6e476e0667
commatwo_master
Willem Melching 4 years ago
parent faad598e29
commit 3e44be1461
  1. 1
      selfdrive/car/hyundai/values.py
  2. 4
      selfdrive/debug/test_fw_query_on_routes.py

@ -167,6 +167,7 @@ FW_VERSIONS = {
],
(Ecu.esp, 0x7d1, None): [
b'\xf1\x00DN ESC \x01 102\x19\x04\x13 58910-L1300\xf1\xa01.02',
b'\xf1\x00DN ESC \x06 104\x19\x08\x01 58910-L0100',
b'\xf1\x8758910-L0100\xf1\x00DN ESC \x06 104\x19\x08\x01 58910-L0100\xf1\xa01.04',
],
(Ecu.engine, 0x7e0, None): [

@ -37,7 +37,7 @@ if __name__ == "__main__":
for route in tqdm(routes):
route = route.rstrip()
dongle_id, time = route.split('|')
qlog_path = f"cd:/{dongle_id}/{time}/1/qlog.bz2"
qlog_path = f"cd:/{dongle_id}/{time}/0/qlog.bz2"
if dongle_id in dongles:
continue
@ -65,7 +65,7 @@ if __name__ == "__main__":
live_fingerprint = args.car
if live_fingerprint not in list(TOYOTA_FINGERPRINTS.keys()) + list(HONDA_FINGERPRINTS.keys()) + list(HYUNDAI_FINGERPRINTS.keys()):
continue
break
candidates = match_fw_to_car(car_fw)
if (len(candidates) == 1) and (list(candidates)[0] == live_fingerprint):

Loading…
Cancel
Save