Commit Graph

3126 Commits

Author SHA1 Message Date
Shane Smiskol 7cdbe5f6f5 Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler, Mazda, Ford [bot] (#31231)
old-commit-hash: 0176c870eaf5c59e076811b607bf7f0f5f6d82cc
2024-01-30 13:57:52 -08:00
Harald Schäfer dfed3c1b5b Ford long control improvements (#31123)
* Ford updates

* back to normal

* Small fixes

* Try max

* Does pred matter

* ref commit

* Update ref
old-commit-hash: feaf52dd4c1f1b406b068e195fa48f3daf0b67ed
2024-01-30 11:40:52 -08:00
Shane Smiskol a5a41e38d0 format fingerprints: fix empty FW versions (#31230)
fix
old-commit-hash: c2ee07290721ef0317ef49021f95e71016222bc1
2024-01-30 03:07:00 -08:00
Cameron Clough a2db032930 Ford: don't fingerprint on engine (#31195)
* Ford: do not fingerprint engine

* add notebook

* Ford: add missing Explorer FW

* revert

* revert

* Revert "revert"

This reverts commit ad32feaa689f2b497c8bcc9fedc73cae6c87f697.

* TestFwFingerprintTiming: try these

* TestFwFingerprintTiming: update total ref time

* remove notebook

* fix ref

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1d1c9936cf5711c5414b2da2ee823f7233e7882e
2024-01-30 02:42:33 -08:00
Shane Smiskol b41683d323 GM: FPv2 logging (#31221)
* bump

* from https://github.com/commaai/openpilot/pull/27929

* get VIN on bolt!

* might as well try on other gms

* remove vin

* ugh gm is going to be slow

* fix

* should really fix this

* revert

* happy?1

* fix unit test

* bump

* functional addressing must be an OBD gateway feature, this does nothing

* fix vin response

* fix addr!

* finally fix fw_versions bugs since boardd IsOnroad refactor

* for

* only bus 0

* clean up

* Update selfdrive/car/gm/values.py

* ChatGPT re-write

* filter out did

* todo

* oof

* preview: what multiple DIDs per ECU would look like in the future

* Revert "preview: what multiple DIDs per ECU would look like in the future"

This reverts commit 88f0d8611e638de644adc5feabade848c03d59e4.

* function to get all ecus

* we can remove this!

* can also do this!

* and this one too :o

* consistency

* yay

* clean up
old-commit-hash: 06f0e5096424acd643046f4bd5a3c84a4f684e8e
2024-01-30 02:19:12 -08:00
Shane Smiskol 849504bfe7 FPv2: support FwQueryConfig with no FW versions (#31227)
* bump

* from https://github.com/commaai/openpilot/pull/27929

* get VIN on bolt!

* might as well try on other gms

* remove vin

* ugh gm is going to be slow

* fix

* should really fix this

* revert

* happy?1

* fix unit test

* bump

* functional addressing must be an OBD gateway feature, this does nothing

* fix vin response

* fix addr!

* finally fix fw_versions bugs since boardd IsOnroad refactor

* for

* only bus 0

* clean up

* Update selfdrive/car/gm/values.py

* ChatGPT re-write

* filter out did

* todo

* oof

* preview: what multiple DIDs per ECU would look like in the future

* Revert "preview: what multiple DIDs per ECU would look like in the future"

This reverts commit 88f0d8611e638de644adc5feabade848c03d59e4.

* function to get all ecus

* we can remove this!

* can also do this!

* and this one too :o

* consistency

* yay

* add tests

* revert GM stuff

* another PR

* reads better

* revert rest of gm

* use that

* interesting

* these are exactly the same (with ordering differences)

* Revert "these are exactly the same (with ordering differences)"

This reverts commit a9e918dc351d24f1b7c8a05c7ec402e057a0e09a.

* flip
old-commit-hash: 2c0f7b872702e44bb8911702d027d39b01134e6f
2024-01-30 02:08:08 -08:00
Shane Smiskol b2fcda8419 GM camera ACC: get VIN from camera (#31224)
* bump

* gm vin

* that's not right

* only check relevant buses

* instead try queries for each bus first

* clean up

* use default retry in function

* all
old-commit-hash: c3fcf75737b28efe05bf78c4ec886482749844c6
2024-01-29 23:24:21 -08:00
Shane Smiskol 8639a23c35 fw_versions: fix params.remove
old-commit-hash: 5a8686b439d183e56a56e916abaa4cbeb43254a1
2024-01-29 22:36:29 -08:00
Shane Smiskol b27cd0cd70 fix manually running fw_versions.py (#31226)
old-commit-hash: a4cf7745e845e9cbb7e4d11db9f2bf88a51a1682
2024-01-29 21:44:00 -08:00
Shane Smiskol d9bd51192f vin: fix retry logging (#31225)
* retry should really be outside inner query loop

* just req

* nls

* bump

* rmnl

* useful to have

* is it though
old-commit-hash: 3a0033e81eec20f640c0d9be57b7f7da9a97d99d
2024-01-29 21:28:29 -08:00
Justin Newberry 6b7039c6bf Subaru: eps is non-essential for gen2 cars (#31220)
* eps non essential

* comment

* suggestions
old-commit-hash: 54fe19206eb3b25432f8ddaf7f39b996c07dbdce
2024-01-29 16:48:03 -08:00
Andrei Tanas f3267f0710 Add 2022 Subaru Outback IDs to subaru/fingerprints.py (#31016)
old-commit-hash: e86aafc723479bcdb87b27586f90b1d08b9fc334
2024-01-29 16:07:56 -08:00
Shane Smiskol 04c9543322 Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31210)
old-commit-hash: fd0b9cd9301da9962d933e69939f34d0ffef343d
2024-01-29 09:38:06 -08:00
Shane Smiskol 69969f745f Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31205)
Export fingerprints
old-commit-hash: 80db6f0e28aa9ca55488c991d62bed65986624db
2024-01-29 01:11:28 -08:00
Shane Smiskol 7b81d05f3b Car docs: update model years from users for Toyota, Honda, Chrysler [bot] (#31203)
Update car docs
old-commit-hash: 36d6bb3bda64286bd5db05e85a1cc300bb8bca6a
2024-01-28 19:23:53 -08:00
taggahertz 09f2448f08 Updated Lexus ES hybrid MY (#31181)
* Updated Lexus ES hybrid MY

Car
2024 Lexus ES 300h

Segment
c52c524e1b873247|2024-01-19--12-11-57--0

Route
https://connect.comma.ai/c52c524e1b873247/1705695117754/1705695298920

* Update CARS.md

fixed url link
old-commit-hash: 27c624550f424a9c33744ea415d2da60d361b399
2024-01-28 17:52:29 -08:00
Shane Smiskol 2d4b72e1bb Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31196)
Export fingerprints
old-commit-hash: 2a006f59a52f462b0c49b174a16dd4d09cc8bd70
2024-01-28 15:53:55 -08:00
garrettpall 9acd645c4b GM: Add BSM from Powertrain Bus (#30861)
* Add GM BSM

* Move BSM check to fwdCam only

* Detect if BSM message if present

* Remove hardcoding

* Apply Commit Suggestion

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Cleanup Suggestions

* bump opendbc

* test out bsm

* BCMBlindSpotMonitors -> BCMBlindSpotMonitor

* Revert "test out bsm"

This reverts commit 0e166530e60165269c1be200f48ead9918d5fe96.

* up here

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 58ef40eb2264a9d62a1715486677c342d5d113ce
2024-01-27 20:56:10 -08:00
Shane Smiskol 6c7daff9cb Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31193)
Export fingerprints
old-commit-hash: be4107dc8a79ea017baf05d5055a0d59d3a965e8
2024-01-27 18:31:50 -08:00
Justin Newberry c8d5ce1517 Subaru: move non-obd requests out of logging (#31174)
enable
old-commit-hash: aff3d5ae091eba2b2ef09f004c6a2b70ee33db06
2024-01-27 09:07:14 -08:00
Alexandre Nobuharu Sato 24d2e6e822 Fingerprint vw taos eduardo (#31113)
* add instructions to my fork

* add braziliam TAOS fingerprint

* Revert "add instructions to my fork"

This reverts commit 46fbee3ebe7ecbb211d855e63b2d4c8919c31b63.
old-commit-hash: 97488c190ed2dc406e3ba9995516309f83535ecc
2024-01-26 13:20:35 -08:00
Shane Smiskol 2e4f6b23fe Honda: add logging request for radarless Civic 2022+ camera (#31176)
* try tester present

* radar

* rm whitelist

* refs
old-commit-hash: 52d7cfa68952ab30ac7577b4cdeb20c75e2c8745
2024-01-25 23:58:27 -08:00
Shane Smiskol 8ba8d7d554 Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31173)
Export fingerprints
old-commit-hash: d1a8ec0cadfe298e614809c0c791758cccea68dc
2024-01-25 23:13:17 -08:00
Shane Smiskol 7c70aef5de vin: reduce retries (#31175)
reduce retries
old-commit-hash: c99cd3251b6a283be43fd301273baf78553c9c43
2024-01-25 22:40:39 -08:00
Shane Smiskol 43291c6324 add comment about sendcan
old-commit-hash: ca2ed59a643c5fe0e0530e60c06b064fadbccbad
2024-01-25 22:27:18 -08:00
Shane Smiskol 9a4da3ea04 vin: try bus 0 first
old-commit-hash: 1612ec6d93deecf888b5739569a95be7e7c68bb1
2024-01-25 19:09:53 -08:00
Shane Smiskol ff6ae8f1b9 VIN: query on bus 0 to log data (#31165)
* query on bus 0

* fix

* log vin_rx_bus

* fix!
old-commit-hash: 289868297eb2646acb8c62cec27ce77027d09ac7
2024-01-25 18:01:49 -08:00
Shane Smiskol e646368b7d Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31166)
old-commit-hash: f5732f9c5b266e4e992aa75fb7dc1770759731e9
2024-01-25 16:44:25 -08:00
Shane Smiskol 5870fb64d2 Fingerprints: add missing FW versions from users for Toyota, Honda, Chrysler [bot] (#31156)
Export fingerprints
old-commit-hash: 9ae8830a435816e1a5758c6c61aa1c567c651dfd
2024-01-25 15:28:02 -08:00
Shane Smiskol fed94c5d57 Toyota: use radar in place of abs for platform code ECUs (#31043)
* use radar instead of abs

* str the strenum

* Lexus ES: non-TSS2 probably don't have stop and go without DSU-pull and/or pedal

* remove from NO_STOP_TIMER_CAR. this set is so confusing

* Combine ES & ESH (preferring ESH's DSU msgs)

* ES: forgot substitute

* comment

* Highlander: combine, preferring the hybrid for DSU msg mismatches (0x365 and 0x366)

* remove duplicates and sort

* update docs

* toyota non_essential ECU test

* Lexus RX: combine, preferring hybrid's msgs (they all exist on ICE)

* sort and remove dups

* parameterize so we can test with notebook

* this too

* clean up

* clean up

* tuple makes more sense

* update comments

* update

* update

* update
old-commit-hash: be15b31696af43accbffc8d59b3a5acbb4725682
2024-01-25 02:02:00 -08:00
Shane Smiskol ef68d5b68c Chrysler: add FW from CAN fingerprinting cars last 90 days on 0.9.5-release (#31142)
* print

* name

* add missing

* -----

* add list so can fingerprint

* transmission doesn't exist on these

* fix abs addr!

* apparantly abs isn't on these cars

* 2018 too

* clean up

* rm abs

* add missing versions!

* Revert "add missing versions!"

This reverts commit 45d36a49363a9c540841e6618c1a73cd3948c754.

* need this to fingerprint!

* Add FW from CAN fingerprinting cars last 90 days on 0.9.5-release

* need this temporarily

* Add rest of dongles

* update docs

* remove FINGERPRINTS

* Apply suggestions from code review

* Update selfdrive/car/fw_versions.py
old-commit-hash: 951d7e9cd0f7a12af81e3224771e2dec079ca22e
2024-01-24 21:29:18 -08:00
kovat74 d6ebcd5944 Added firmware fingerprint IONIQ 2020 EV (#31049)
old-commit-hash: ae25a135947a1e2b06245cb63cc0f9cf4c44dd41
2024-01-24 16:15:20 -08:00
Cameron Clough 7b4bcd8f22 Ford: add missing Mach-E fw (#31145)
From the route 83a4e056c7072678/2023-11-13--16-51-33 (which is already
in selfdrive/car/tests/routes.py, added in #30691).
old-commit-hash: 1a202a55c1db9e8db3d69a30fcfb9f978cf20a53
2024-01-24 15:37:32 -08:00
Shane Smiskol 2605b45f20 Chrysler: add Pacifica 2023 FW versions (#30934) (#31144)
* Revert "Revert "Chrysler: add Pacifica 2023 FW versions (#30934)""

* ICE
old-commit-hash: e5fe1d2885761028dfa61d95972a8d346809c446
2024-01-24 01:56:33 -08:00
Shane Smiskol 0d08cfd77d Revert "Chrysler: add Pacifica 2023 FW versions (#30934)" (#31143)
Revert "Add Pacifica 2023 fingerprint"
old-commit-hash: ee716a6d9d79a2276cc63c5fd6751e2cfbbc7b9b
2024-01-24 01:29:05 -08:00
Kenny K accb8b66a6 Chrysler: add Pacifica 2023 FW versions (#30934)
* Add Pacifica 2023 fingerprint

* add FW

* remove can

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1b82e77ed9ae2016a23034e7fc01deef199fba7a
2024-01-24 01:01:15 -08:00
Shane Smiskol f01651d440 Nissan: log FW responses on bus 0 (#31138)
* nissan: log FW responses on bus 0

* update refs
old-commit-hash: b9ad854451ce642a05c487d96a1a9bc2181bb3ba
2024-01-23 23:12:48 -08:00
Shane Smiskol 23d7cf74af fw_versions: add extra_fw_versions param (#31132)
* add param

* fix

* fix
old-commit-hash: 780f1222adeef28cd8d3057fa94c6dc65cbee876
2024-01-23 17:21:48 -08:00
Shane Smiskol 422daea84c New MY!
old-commit-hash: a2028cbfd55712ef23cefa31d909892592ab2e8d
2024-01-23 14:29:31 -08:00
Shane Smiskol 0daf97e084 Export fingerprints
old-commit-hash: ebc916e25c2136d9cadbb98672442cfbc5e84ea5
2024-01-23 14:23:11 -08:00
Shane Smiskol ee5454eefa Fingerprints: automatically add missing FW versions from users [bot] (#31116)
Export fingerprints
old-commit-hash: ea57336005f4cf9c587dfbe221662b4de73bd508
2024-01-23 02:19:32 -08:00
Justin Newberry f447062b66 CommaCarSegments: public database of segments for each platform (#31114)
* comma car segments

* comma car segments for test_models

* oneliner

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* better name

* not used here

* sort

* remove print

* better comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: caa9153974c21fd827d0e991f1789cf3e81b5c3b
2024-01-22 17:33:03 -08:00
Justin Newberry 4080bec11d pytest: add marker for sharing the download cache (#31082)
* fix cache

* with a marker
old-commit-hash: 3846130d8e15ea71e9576ae62b69918757edc7b8
2024-01-22 16:30:59 -08:00
Brad Slavin 5d8cf902c5 Hyundai: add missing Ioniq 5 2024 RWD Limited FW (#30864)
Update fingerprints.py

Added 2024 RWD Limited
old-commit-hash: 95d33164fd98246c2d80afa78732352f97b83bf9
2024-01-22 12:09:17 -08:00
Harald Schäfer 66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c384671b448f307a7ed91416886f2186d80
2024-01-21 12:09:48 -08:00
Justin Newberry b29eea47ce sanitizer: sanitize vin number (#31090)
old-commit-hash: 2c86c023fe2d3072910ed33ff97cd6d3ddf2915d
2024-01-21 12:22:32 -05:00
Shane Smiskol 0c68412407 Toyota: combine more hybrid platforms (#31057)
* Combine

* migrate test models segs

* fix highlander engine

* no change
old-commit-hash: 29536324c1dceceb064c6b3ef6a3e0ef3dd0d578
2024-01-18 18:51:24 -08:00
Shane Smiskol 8200f32b5f FW query timing test: mock inconsistent, timing-based functions (#31048)
* Revert "Revert "FW query timing test: mock get_data function for timeout" (#30696)"

This reverts commit 799cdee1e97bd45946ffb31a03e1fcc1c5da5ac6.

* no thread

* clean up a bit

* no thread!

* combine functions

* re-enable total time check

* back to 5

* minimal diff

* minimal diff
old-commit-hash: f96aa247cc0834296a3f85ea58617ef700de596c
2024-01-17 19:05:31 -08:00
Shane Smiskol dee615ee12 Fingerprints: automatically add missing FW versions from users [bot] (#31027)
Export fingerprints
old-commit-hash: 60a41028924858bfd94db3c49d217f298013ea15
2024-01-16 19:32:21 -08:00
Justin Newberry eeaf219cce test_models: sanitize segment before running test (#31026)
to ensure sanetized routes will work
old-commit-hash: 5c24527683cd4a9d338fe64dd9e98179e903316e
2024-01-16 15:08:44 -08:00