Skip to content

Commit

Permalink
Toyota: More RAV4 Prime fingerprints (#1343)
Browse files Browse the repository at this point in the history
* from @pd0wm #1005

* from @pd0wm commaai/openpilot#31179

* we did need that flag rename

* those flags were numbered like that for a reason

* no more bustime

* add secOCKey to structs

* hack around new pitch value for now

* secOCKey placeholder

* help the test along for now

* codespell disapproves of my creative vision

* add crypto dependency

* the other one

* the other other one

* temp use SecOC branch of Panda

* i am the panda, for now

* propitiate static type checker

* on second thought, moving car.capnp is a good idea

* remove the SecOC key from CarParams

* remove SecOC key reading from Toyota port

* add secoc_key to CS/CC

* update SecOC key references

* default key in interfaces for tests

* more CarParams.SecurityConfig

* set secOcRequired at startup for SecOC car

* see if type checker likes this better

* santa please bring car.capnp back soon

* list -> flag

* diff reduction: won't need the flag rename

* add IDLE_COAST signal

* regen RAV4 DBC

* consolidate and remove ALT_GAS_MSG flag

* consolidate and remove GEAR_PACKET_HYBRID flag

* cleanup pitch signal

* cleanup can_gear

* cleanup SECOC_SYNCHRONIZATION

* more cleanup

* cleanup Mirai

* FLAG.value consistency, in case capnp move needs this

* not necessary, reduce diff with master

* prettier

* validation like this should be an offline test

* match non-SecOC LTA message

* follow secoc library move

* repack flag values

* whitespace fix

* cleanup stockAeb

* comment not necessary

* add explicit FIXME for pandacan ref

* how did that sneak back in

* mention why CarDocs are missing

* use carlog to note wrong key problems

* limit logging volume

* add migration entry for old routes

* add FW from 2fdfcfb945894324/00000151--11c864bd11

* add FW from 955536bf30ea4500/00000266--b60f72d541

* add FW from 5ac52f5bc37079ce/00000004--dd8686b2d0

* Revert "add migration entry for old routes"

This reverts commit 9791f10.
  • Loading branch information
jyoung8607 authored Oct 4, 2024
1 parent c908585 commit 201ff2d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions opendbc/car/toyota/fingerprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,19 +1007,24 @@
},
CAR.TOYOTA_RAV4_PRIME: {
(Ecu.engine, 0x700, None): [
b'\x018966342S7000\x00\x00\x00\x00'
b'\x018966342S7000\x00\x00\x00\x00',
b'\x018966342Z1000\x00\x00\x00\x00',
b'\x018966342Z1100\x00\x00\x00\x00',
],
(Ecu.abs, 0x7b0, None): [
b'\x01F15264228300\x00\x00\x00\x00'
b'\x01F15264228300\x00\x00\x00\x00',
b'\x01F15264228500\x00\x00\x00\x00',
b'\x01F15264284100\x00\x00\x00\x00',
],
(Ecu.eps, 0x7a1, None): [
b'\x018965B4209000\x00\x00\x00\x00'
b'\x018965B4209000\x00\x00\x00\x00',
],
(Ecu.fwdRadar, 0x750, 0xf): [
b'\x018821F3301400\x00\x00\x00\x00'
b'\x018821F3301400\x00\x00\x00\x00',
],
(Ecu.fwdCamera, 0x750, 0x6d): [
b'\x028646F4205200\x00\x00\x00\x008646G4202000\x00\x00\x00\x00'
b'\x028646F4205200\x00\x00\x00\x008646G4202000\x00\x00\x00\x00',
b'\x028646F4205300\x00\x00\x00\x008646G4202100\x00\x00\x00\x00',
],
},
CAR.TOYOTA_RAV4_TSS2: {
Expand Down

0 comments on commit 201ff2d

Please sign in to comment.