Skip to content

Commit

Permalink
Squashed commit of the following from subaru-community:
Browse files Browse the repository at this point in the history
6bca5d6 Update release notes
b4b8ccf Add FPv2: 2017 Impreza 2.0 - UDM / @prlifestyle93
a336eb1 Update release date
bb5fa9e Update release notes
b090755 FPv2: Add 2019 Forester - UDM
  • Loading branch information
budney committed Mar 24, 2022
1 parent c269733 commit 7dd519f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions RELEASES_SUBARU.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2021-12-28
==========
* FPv2 updates
* 2017 Impreza 2.0 - UDM / @prlifestyle93

2021-12-17
==========
* FPv2 updates
* 2019 Forester - UDM / @Patienc3

2021-12-16
==========
* Merge upstream (0.8.12) / @martinl
Expand Down
9 changes: 9 additions & 0 deletions selfdrive/car/subaru/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class CAR:
# 2018 Impreza Limited - UDM / @isaacdchan
# 2017 Impreza 1.6 - UDM / @Moodkiller
# 2019 Crosstrek - UDM / @AJInvesting
# 2017 Impreza 2.0 - UDM / @prlifestyle93
# Ecu, addr, subaddr: ROM ID
(Ecu.esp, 0x7b0, None): [
b'\x7a\x94\x3f\x90\x00',
Expand All @@ -103,6 +104,7 @@ class CAR:
b'\xa2 \x19`\x00',
b'z\x94\f\x90\001',
b'z\x9c\x19\x80\x01',
b'z\x94\x08\x90\x00',
],
(Ecu.eps, 0x746, None): [
b'\x7a\xc0\x0c\x00',
Expand All @@ -121,6 +123,7 @@ class CAR:
b'\000\000dd\037@ \016',
b'\000\000e\002\037@ \024',
b'\x00\x00d)\x00\x00\x00\x00',
b'\x00\x00c\xf4\x00\x00\x00\x00',
],
(Ecu.engine, 0x7e0, None): [
b'\xaa\x61\x66\x73\x07',
Expand All @@ -140,6 +143,7 @@ class CAR:
b'\xbe!at\a',
b'\xaa\x00Bu\x07',
b'\xc5!dr\x07',
b'\xaa!aw\x07',
],
(Ecu.transmission, 0x7e1, None): [
b'\xe3\xe5\x46\x31\x00',
Expand All @@ -155,6 +159,7 @@ class CAR:
b'\xe3\xf5F\000\000',
b'\xe4\xf5\002\000\000',
b'\xe3\xd0\x081\x00',
b'\xe3\xf5\x06\x00\x00',
],
},
CAR.IMPREZA_2020: {
Expand Down Expand Up @@ -218,6 +223,7 @@ class CAR:
# 2021 Forester - UDM / @umby24
# 2020 Forester Sport - UDM / @RyanYo
# 2019 Forester Sport - UDM / @Zapman
# 2019 Forester - UDM / @Patienc3
# Ecu, addr, subaddr: ROM ID
(Ecu.esp, 0x7b0, None): [
b'\xa3 \030\024\000',
Expand All @@ -232,18 +238,21 @@ class CAR:
b'\000\000e!\037@ \021',
b'\000\000e\x97\037@ 0',
b'\000\000e`\037@ ',
b'\xf1\x00\xac\x02\x00',
],
(Ecu.engine, 0x7e0, None): [
b'\xb6\"`A\a',
b'\xcf"`0\a',
b'\xcb\"`@\a',
b'\xcb\"`p\a',
b'\xf1\x00\xa2\x10\n',
],
(Ecu.transmission, 0x7e1, None): [
b'\032\xf6B0\000',
b'\032\xf6F`\000',
b'\032\xf6b`\000',
b'\032\xf6B`\000'
b'\xf1\x00\xa4\x10@',
],
},
CAR.IMPREZA_3071: {
Expand Down

0 comments on commit 7dd519f

Please sign in to comment.