Add additional fingerprints for Subaru Outback 2022 model (#27995)

* Fingerprint Subaru outback 2022

Add fingerprint for carFw abs, engine, transmission, and fwdCamera.

* fingerprint two more values

* order values properly before submitting a PR

* remove hyundai fw responses

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: a5d0d7b069
beeps
goatstalker 2 years ago committed by GitHub
parent 73e00a05ac
commit 49b1caa329
  1. 4
      selfdrive/car/subaru/values.py

@ -482,6 +482,7 @@ FW_VERSIONS = {
b'\xa1 "\t\x01', b'\xa1 "\t\x01',
b'\xa1 \x08\x02', b'\xa1 \x08\x02',
b'\xa1 \x06\x02', b'\xa1 \x06\x02',
b'\xa1 \x07\x02',
b'\xa1 \x08\x00', b'\xa1 \x08\x00',
b'\xa1 "\t\x00', b'\xa1 "\t\x00',
], ],
@ -493,6 +494,7 @@ FW_VERSIONS = {
(Ecu.fwdCamera, 0x787, None): [ (Ecu.fwdCamera, 0x787, None): [
b'\x00\x00eJ\x00\x1f@ \x19\x00', b'\x00\x00eJ\x00\x1f@ \x19\x00',
b'\000\000e\x80\000\037@ \031\000', b'\000\000e\x80\000\037@ \031\000',
b'\x00\x00e\x9a\x00\x00\x00\x00\x00\x00',
b'\x00\x00e\x9a\x00\x1f@ 1\x00', b'\x00\x00e\x9a\x00\x1f@ 1\x00',
b'\x00\x00eJ\x00\x00\x00\x00\x00\x00', b'\x00\x00eJ\x00\x00\x00\x00\x00\x00',
], ],
@ -502,6 +504,7 @@ FW_VERSIONS = {
b'\xde"`0\a', b'\xde"`0\a',
b'\xf1\x82\xbc,\xa0q\a', b'\xf1\x82\xbc,\xa0q\a',
b'\xf1\x82\xe3,\xa0@\x07', b'\xf1\x82\xe3,\xa0@\x07',
b'\xe2"`0\x07',
b'\xe2"`p\x07', b'\xe2"`p\x07',
b'\xf1\x82\xe2,\xa0@\x07', b'\xf1\x82\xe2,\xa0@\x07',
b'\xbc"`q\x07', b'\xbc"`q\x07',
@ -513,6 +516,7 @@ FW_VERSIONS = {
b'\xa5\xfe\xf6@\x00', b'\xa5\xfe\xf6@\x00',
b'\xa7\x8e\xf40\x00', b'\xa7\x8e\xf40\x00',
b'\xf1\x82\xa7\xf6D@\x00', b'\xf1\x82\xa7\xf6D@\x00',
b'\xa7\xf6D@\x00',
b'\xa7\xfe\xf4@\x00', b'\xa7\xfe\xf4@\x00',
], ],
}, },

Loading…
Cancel
Save