Commit Graph

3086 Commits

Author SHA1 Message Date
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
Justin Newberry 4b7edec2b0 LogReader: move opci to tools/lib (#31021)
move opci
old-commit-hash: 7d400112df6692ef026245b03951345cc36dd83e
2024-01-16 10:58:51 -08:00
Shane Smiskol e3bb372013 Revert "docs: include dashcam" (#31017)
old-commit-hash: 8e9be48b7b02e679868b50aab34cd38cb48b3905
2024-01-15 23:49:07 -08:00
Justin Newberry 35bc540ee5 Subaru: ensure consistent firmware version size (#31001)
* fix copying mistakes

* fix SA

* remove print

* ensure size is same

* fix SA

* not in database
old-commit-hash: 94cd4c90464615d763af43904fd3902730b13515
2024-01-15 12:52:15 -08:00
Shane Smiskol 4bcff9c97b docs: include dashcam (#31004)
include dashcam
old-commit-hash: f256225f294f5312ed425c7022300787c60f1d66
2024-01-15 04:58:43 -08:00
Justin Newberry 7433b1016f Subaru: remove incorrect fingerprints from other brands queries (#30984)
s
old-commit-hash: 4c6f7da4049869d3dd1fe66a13f1aba7362c9b8c
2024-01-14 19:55:15 -08:00
Shane Smiskol 4c94f5ac5d Fingerprints: automatically add missing FW versions from users [bot] (#30988)
Export fingerprints
old-commit-hash: dafde02da36cc13b6b9d3f9bd56aecdf2ddf93f7
2024-01-12 20:58:13 -08:00
Jason Young 4473f7ea65 VW MQB: Add FW for 2018 Volkswagen Tiguan (#30951)
old-commit-hash: ba792d576a49a0899b88a753fa1c52956bedf9e6
2024-01-11 23:16:04 -08:00
Justin Newberry 655de4bffc Subaru: fix disable eyesight enum (#30974)
value
old-commit-hash: e7657d896f3cb7ec5044d4ac4c48a714c8e4c512
2024-01-11 17:15:37 -08:00
Shane Smiskol 502322ed11 Fingerprints: add missing FW versions from users (#30972)
Export fingerprints
old-commit-hash: 68bcb6b8da0db090c37d6d9a633d7ffdd58e24fe
2024-01-11 15:57:04 -08:00
Shane Smiskol ebc7d0caeb Honda: remove hud ECU from CR-V Hybrid (#30965)
remove almost absent ECU
old-commit-hash: 3c74a61c979cb318768699dc8d4fe39c64779622
2024-01-11 00:39:26 -08:00
Jason Young 38d6ed173d VW MQB: EA driver inactivity workaround (#24711)
* VW MQB: Emergency Assist mitigation

* elide superfluous newline

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 61ebb5b668be32f0fc5547bf3b70ee55f7cbbecd
2024-01-09 19:24:46 -08:00
Shane Smiskol 4fde39f9ea Toyota: add 2024 RAV4 (#30909)
* add 2024 RAV4 ICE FP

* docs

* also try vin bus 0 toyota

* it works!
old-commit-hash: ca57d329e2e835c9dfd8545bc5780c0e2afd95fe
2024-01-09 00:48:48 -08:00
Adeeb Shihadeh 422c8407f4 GM: remove GMLAN dash msg (#30547)
* remove GMLAN

* update refs
old-commit-hash: af137bac5869a6ec2227d9183993a1ebcedd4ad4
2024-01-08 19:49:22 -08:00
Shane Smiskol 2b6bc47a6a Fingerprints: add missing FW versions from users (#30945)
Export FW versions
old-commit-hash: 1d370a0880902099bbb7c2b6ff126ab61ae149bf
2024-01-08 19:46:27 -08:00
Jason Young 263ec242dc VW MQB: Improved longitudinal starting and stopping (#30874)
* VW MQB: Improved stopping and starting

* get longcontrol to take off sooner

* oops

* use the carParam instead of the constant

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 88e445ef154e6da795b653cbefd6391eef731d8e
2024-01-08 19:40:41 -08:00
Shane Smiskol fc23ab6c8d Fix string indentation (#30943)
* fix bad spacing

* more

* these aren't important
old-commit-hash: d689a4e6537b6b48e0ad9948ac919065317258c1
2024-01-08 15:36:43 -08:00
Justin Newberry 040223e69f move car porting tools to tools/car_porting (#30916)
just this for now
old-commit-hash: e86d74b347f60a3e575d45b4c99d94d23c8c7d84
2024-01-05 11:53:03 -08:00
Shane Smiskol 3618a2a007 Car docs: utilize post init (#30912)
move these to earlier post_init
old-commit-hash: 002ab5637b7d8dc22ad2197f4d98544d0518b941
2024-01-04 22:16:39 -08:00
Justin Newberry 1fe1523fc2 add read_seglist helper (#30908)
add helper
old-commit-hash: 1148c65d232fdfe7aa46b80c078721d78876da4a
2024-01-04 17:52:07 -08:00
Shane Smiskol ccb0b14642 Fingerprints: add missing FW versions from users (#30906)
Export fingerprints from Fingerprint stage
old-commit-hash: 63f0d775bc938ba38dbc7f42957fc2a80094686c
2024-01-04 15:54:50 -08:00
Shane Smiskol 9330fc6a60 Revert "Fingerprints: add missing FW versions from users"
This reverts commit 529afe7adbdf685eba4b7b77031ef13ac3e721d6.

Meant for another branch.

old-commit-hash: 43b0b0f022b8e409b399110f95c3ba34480b5235
2024-01-04 00:51:38 -08:00
Shane Smiskol 021b79cf56 Fingerprints: add missing FW versions from users
old-commit-hash: e85e401d073c3f64b882d52757d9653f22adfba2
2024-01-04 00:50:30 -08:00
Adeeb Shihadeh 9e48201d22 Revert "Fingerprint for '21 Explorer ST (#30877)"
This reverts commit 64eb7a39c4c8a8afe89e87de8f02442200ff30d1.

old-commit-hash: fe4090584923b559ef95131319a0ef77cfa1938a
2024-01-03 20:07:58 -08:00
duetschlandftw 450aa1d1f9 Fingerprint for '21 Explorer ST (#30877)
* carparams gave me a new firmware entry for "shiftByWire" from 'ford', so i added it here, as well as a new fw value under ecs.engine

* Update selfdrive/car/ford/fingerprints.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ff0fed07ed92c7e4b2f3d348a769058652351c87
2024-01-03 19:43:59 -08:00
DevTekVE b343b9820e [HKG-CAN] Consider FCW alerts from SCC (#30885)
* FCW is triggered differently when SCC is active

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* cmt

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 28cf3155e21da663040040076f9fb9e746fd6834
2024-01-03 19:34:13 -08:00
Shane Smiskol dac5a594aa test_models: fallback to public route when route isn't uploaded to CI bucket (#30893)
* not sure why this is a test

* Revert "not sure why this is a test"

This reverts commit c13e16311eb882df65d216bbd59acb5702e985e6.

* no ruff for this pattern :(

* this is always caught

* should fail

* simpler

* Revert "should fail"

This reverts commit 21bd15275c46cd42fd19b058245334bae83cce77.

* fix

* cleanup this

* better comment

* better

* this can be more localized

* better names

* better names

* should fail

* Revert "should fail"

This reverts commit c58495e8b3417ce351df8048752ec60177827cb3.

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7f398e1cf9b0fd83bb1238b9b347a21d8868ee0f
2024-01-03 11:54:22 -08:00
Shane Smiskol ff08885476 Fingerprints: add missing FW versions from users (#30837)
Export Toyota fingerprints from last 2 weeks, 0.9.5-release
old-commit-hash: 633fef5a96d5c8db55a1e6276df6d7f060c4ccd7
2024-01-02 21:48:31 -08:00
Shane Smiskol 52150bbb02 Revert "test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)" (#30896)
* fails if no skip function

* Revert "fails if no skip function"

This reverts commit ff3d697d38dce56057c83f06033a689f2301a29d.

* Revert "test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)"

This reverts commit f60e70d4729efe7db36888a0a750a0e4706cc943.
old-commit-hash: 8c4930d2d300a439aaf7dd9ca4324271cc0c7b52
2024-01-02 17:22:06 -08:00
Shane Smiskol 47b3a22daf Toyota: add 2024 RAV4 Hybrid (Canada-built) (#30887)
* add 2024 RAV4

* bump reeleases

* fix star link in PR comments

* ?

* consistent
old-commit-hash: de4bc31ba6f9972b6d411a36dc5d32474a3d0287
2024-01-02 17:14:51 -08:00
Shane Smiskol 92263907dc HKG: fix 2021 Niro Hybrid harness (#30895)
* originally was Hyundai F in the database, but one user on Discord (US) and one in support (SK) both needed hyundai D

* bump
old-commit-hash: 543cd4460acd24a7bfc5bd8f6b4f2d8b2242da12
2024-01-02 17:10:23 -08:00
Justin Newberry 0312d3d0f3 Subaru: longitudinal cleanup and dash status fixes (#30868)
old-commit-hash: a58baf48fe9e951f5954fadbc2c4b2b118633493
2023-12-29 23:47:55 -05:00
Justin Newberry dd9118311b bump submodules (#30866)
old-commit-hash: 9520153b6a3e2e762dee29cdb0ca2ed9f867e2cb
2023-12-29 19:39:17 -05:00
Shane Smiskol 0c194949ea Fingerprints: add missing FW versions from users (#30833)
Export fingerprints from Fingerprint stage
old-commit-hash: 5e6290c4a24e31428b1c1d3d4580128b77e3efeb
2023-12-21 03:55:15 -08:00
Justin Newberry 3b65f2075e format_fingerprints: automatically sort fw fingerprints (#30819)
* Auto sort fingerprints

* add comment
old-commit-hash: 3d8c78d6b3a74196b09576f97ac02b4baa67dfe0
2023-12-20 11:54:31 -08:00
Justin Newberry bf8e8f8338 test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)
* wip

* add public comment

* fix that

* wip

* retrigger
old-commit-hash: 05dc0b51e6597fb83aed14f5a390fa4254751c98
2023-12-20 11:29:19 -08:00
Justin Newberry 611e3fe8e7 add script to automatically format fingerprints file (#30792)
* Add script

* fix script

* fix script

* fix for subaddr

* run the script

* old style can fingerprints

* cleanup

* sort imports, make executable, fix path

* newline w/o newline

* match og can formatting

* match og formatting

* generate template once

* standard name

* less nested

* can fingerprints comments

* fix spacing

* no need for PLATFORM_TO_ENUM_NAME!

* prep for PRs

* comments for all, add honda comments

* Auto-generated fingerprint PR from fuzzy fingerprinting cars

* Revert "Auto-generated fingerprint PR from fuzzy fingerprinting cars"

This reverts commit 97bc9e3bdb9d819dcbe684ceba92ea702d40eaf0.

* even closer to original

* readd this comment

* and run script

* add to precommit

* add comments

* add comments

* add to release

* use for auto fingerprint

* disable precommit for now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3713e4d5eaed783738ea8ecdbd3b7e6abaa974c0
2023-12-20 11:18:29 -08:00
Shane Smiskol a918ee9b72 fingerprints: fix formatting (#30814)
formatting
old-commit-hash: adb04b5dc52a8063bf16a91a159fdbb82c83d514
2023-12-19 23:47:34 -08:00
Shane Smiskol e9e408118b interfaces: fix get_interface_attr typing (#30813)
* fix

* Update selfdrive/car/interfaces.py
old-commit-hash: 1a165c658035233b4fca774d886c7ecb97a43364
2023-12-19 23:35:31 -08:00
Shane Smiskol b7811099e4 fix bad CAN fingerprint type (#30809)
fix bad wrong type
old-commit-hash: 426072bd8717753afec89c4291f329bdedbc31b8
2023-12-19 20:30:42 -08:00
Justin Newberry 1314156365 cleanup fingerprinting typing (#30801)
* wip

* undo + add can fingerprints

* add can fingerpints

* those should go there
old-commit-hash: adca970ca9dc574f740e8523536bf8d4b0d7bfa8
2023-12-19 09:41:09 -08:00