fingerprints: fix formatting (#30814)

formatting
pull/30816/head^2
Shane Smiskol 1 year ago committed by GitHub
parent 1a165c6580
commit adb04b5dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/car/chrysler/fingerprints.py
  2. 1
      selfdrive/car/gm/fingerprints.py
  3. 18
      selfdrive/car/honda/fingerprints.py
  4. 3
      selfdrive/car/hyundai/fingerprints.py
  5. 6
      selfdrive/car/mazda/fingerprints.py
  6. 3
      selfdrive/car/nissan/fingerprints.py
  7. 2
      selfdrive/car/subaru/fingerprints.py
  8. 40
      selfdrive/car/toyota/fingerprints.py
  9. 1
      selfdrive/car/volkswagen/fingerprints.py

@ -67,7 +67,6 @@ FINGERPRINTS = {
}],
}
FW_VERSIONS = {
CAR.JEEP_GRAND_CHEROKEE_2019: {
(Ecu.combinationMeter, 0x742, None): [

@ -1,7 +1,6 @@
# ruff: noqa: E501
from openpilot.selfdrive.car.gm.values import CAR
FINGERPRINTS = {
CAR.HOLDEN_ASTRA: [
# Astra BK MY17, ASCM unplugged

@ -1280,29 +1280,29 @@ FW_VERSIONS = {
b'78109-TV9-A510\x00\x00',
],
},
CAR.HONDA_E:{
(Ecu.eps, 0x18DA30F1, None):[
CAR.HONDA_E: {
(Ecu.eps, 0x18DA30F1, None): [
b'39990-TYF-N030\x00\x00'
],
(Ecu.gateway, 0x18DAEFF1, None):[
(Ecu.gateway, 0x18DAEFF1, None): [
b'38897-TYF-E140\x00\x00'
],
(Ecu.shiftByWire, 0x18DA0BF1, None):[
(Ecu.shiftByWire, 0x18DA0BF1, None): [
b'54008-TYF-E010\x00\x00'
],
(Ecu.srs, 0x18DA53F1, None):[
(Ecu.srs, 0x18DA53F1, None): [
b'77959-TYF-G430\x00\x00'
],
(Ecu.combinationMeter, 0x18DA60F1, None):[
(Ecu.combinationMeter, 0x18DA60F1, None): [
b'78108-TYF-G610\x00\x00'
],
(Ecu.fwdRadar, 0x18DAB0F1, None):[
(Ecu.fwdRadar, 0x18DAB0F1, None): [
b'36802-TYF-E030\x00\x00'
],
(Ecu.fwdCamera, 0x18DAB5F1, None):[
(Ecu.fwdCamera, 0x18DAB5F1, None): [
b'36161-TYF-E020\x00\x00'
],
(Ecu.vsa, 0x18DA28F1, None):[
(Ecu.vsa, 0x18DA28F1, None): [
b'57114-TYF-E030\x00\x00'
],
},

@ -79,7 +79,6 @@ FINGERPRINTS = {
}],
}
FW_VERSIONS = {
CAR.AZERA_6TH_GEN: {
(Ecu.fwdRadar, 0x7d0, None): [
@ -924,7 +923,7 @@ FW_VERSIONS = {
(Ecu.fwdCamera, 0x7c4, None): [b'\xf1\x00OS9 LKAS AT USA LHD 1.00 1.00 95740-J9300 g21', ],
(Ecu.transmission, 0x7e1, None): [b'\xf1\x816U2VE051\x00\x00\xf1\x006U2V0_C2\x00\x006U2VE051\x00\x00DOS4T16NS3\x00\x00\x00\x00', ],
},
CAR.KIA_CEED: {
CAR.KIA_CEED: {
(Ecu.fwdRadar, 0x7D0, None): [b'\xf1\000CD__ SCC F-CUP 1.00 1.02 99110-J7000 ', ],
(Ecu.eps, 0x7D4, None): [b'\xf1\000CD MDPS C 1.00 1.06 56310-XX000 4CDEC106', ],
(Ecu.fwdCamera, 0x7C4, None): [b'\xf1\000CD LKAS AT EUR LHD 1.00 1.01 99211-J7000 B40', ],

@ -109,7 +109,7 @@ FW_VERSIONS = {
],
},
CAR.CX9 : {
CAR.CX9: {
(Ecu.eps, 0x730, None): [
b'K070-3210X-C-00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'KJ01-3210X-G-00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
@ -146,7 +146,7 @@ FW_VERSIONS = {
b'GSH7-67XK2-J\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'GSH7-67XK2-K\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'TK80-67XK2-C\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
],
],
(Ecu.transmission, 0x7e1, None): [
b'PXM4-21PS1-A\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'PXM7-21PS1-A\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
@ -230,7 +230,7 @@ FW_VERSIONS = {
],
},
CAR.CX9_2021 : {
CAR.CX9_2021: {
(Ecu.eps, 0x730, None): [
b'TC3M-3210X-A-00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
],

@ -39,7 +39,6 @@ FINGERPRINTS = {
]
}
FW_VERSIONS = {
CAR.ALTIMA: {
(Ecu.fwdCamera, 0x707, None): [
@ -55,7 +54,7 @@ FW_VERSIONS = {
b'284U29HE0A',
],
},
CAR.LEAF: {
CAR.LEAF: {
(Ecu.abs, 0x740, None): [
b'476606WK9B',
],

@ -292,7 +292,7 @@ FW_VERSIONS = {
b'\xd2\xa1`r\x07',
],
(Ecu.transmission, 0x7e1, None): [
b'\x1b\xa7@a\x00',
b'\x1b\xa7@a\x00',
],
},
CAR.FORESTER_PREGLOBAL: {

@ -1269,26 +1269,26 @@ FW_VERSIONS = {
],
},
CAR.LEXUS_ESH: {
(Ecu.engine, 0x7e0, None): [
b'\x02333M4200\x00\x00\x00\x00\x00\x00\x00\x00A4701000\x00\x00\x00\x00\x00\x00\x00\x00',
],
(Ecu.abs, 0x7b0, None): [
b'F152633171\x00\x00\x00\x00\x00\x00',
],
(Ecu.dsu, 0x791, None): [
b'881513310400\x00\x00\x00\x00',
],
(Ecu.eps, 0x7a1, None): [
b'8965B33512\x00\x00\x00\x00\x00\x00',
],
(Ecu.fwdRadar, 0x750, 0xf): [
b'8821F4701100\x00\x00\x00\x00',
b'8821F4701300\x00\x00\x00\x00',
],
(Ecu.fwdCamera, 0x750, 0x6d): [
b'8646F3302001\x00\x00\x00\x00',
b'8646F3302200\x00\x00\x00\x00',
],
(Ecu.engine, 0x7e0, None): [
b'\x02333M4200\x00\x00\x00\x00\x00\x00\x00\x00A4701000\x00\x00\x00\x00\x00\x00\x00\x00',
],
(Ecu.abs, 0x7b0, None): [
b'F152633171\x00\x00\x00\x00\x00\x00',
],
(Ecu.dsu, 0x791, None): [
b'881513310400\x00\x00\x00\x00',
],
(Ecu.eps, 0x7a1, None): [
b'8965B33512\x00\x00\x00\x00\x00\x00',
],
(Ecu.fwdRadar, 0x750, 0xf): [
b'8821F4701100\x00\x00\x00\x00',
b'8821F4701300\x00\x00\x00\x00',
],
(Ecu.fwdCamera, 0x750, 0x6d): [
b'8646F3302001\x00\x00\x00\x00',
b'8646F3302200\x00\x00\x00\x00',
],
},
CAR.LEXUS_GS_F: {
(Ecu.engine, 0x7E0, None): [

@ -3,7 +3,6 @@ from openpilot.selfdrive.car.volkswagen.values import CAR
Ecu = car.CarParams.Ecu
FW_VERSIONS = {
CAR.ARTEON_MK1: {
(Ecu.engine, 0x7e0, None): [

Loading…
Cancel
Save