Commit Graph

2712 Commits

Author SHA1 Message Date
Shane Smiskol 206e06456b FPv2: fast fuzzy fingerprinting (#29233)
* fast fuzzy fingerprinting

* use match_fw_to_car helper

* fix and comment

* alone

* Update selfdrive/car/fw_versions.py

* Update selfdrive/car/fw_versions.py
old-commit-hash: 082fe6868d3833923ff9b0b73b3fe703ef43f366
2023-08-04 16:10:49 -07:00
Shane Smiskol 8b08ba1166 Chrysler: add new diagnostic address for Jeep Grand Cherokee 2016-18 (#29235)
not a standard diag address, or anything we query. only 2 messages

900dfa83b4addfe6|2023-07-31--08-33-51
old-commit-hash: fffc4ae446a8e4a9cbbeb04c1eea0b4a39f72183
2023-08-04 14:29:00 -07:00
Kacper Rączy 79fa322d4a radard: tie radard frequency to modelV2 (#29063)
old-commit-hash: 255f5c13f2d8c6796fd960b248856f11a3c1b05a
2023-08-03 22:10:21 -07:00
Saber faa9444a6a VW MQB: Add FW for 2019 Skoda Kodiaq (#29225)
route name:0bbe367c98fa1538|2023-08-01--12-21-06--0
old-commit-hash: 8332abf015ad2d6a962ed08c991dbd8099ecec58
2023-08-03 16:37:54 -07:00
Saber 55bb3f4566 VW MQB: Add FW for 2018 Skoda Superb (#29222)
route name:77478022b2ebc4b6|2023-07-31--19-00-38--45
old-commit-hash: 2ff53a62ebe93aff125a41821a149244ef535c94
2023-08-03 16:37:34 -07:00
Tenebrous fcef654a2b Toyota: add missing C-HR Hybrid 2020 (UK) FW (#29223)
old-commit-hash: c438f2ba171a9d855f1bb29c7cfb43ab98fdfd65
2023-08-03 15:05:10 +01:00
Christian Bull Gjertsen cab3911ebd car docs: update Toyota vote link (#29218)
* Update CARS.md

Dead link

* fix link

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 24bfb2b44b4d8cd44cf6d0e025843dd68d9c5c67
2023-08-03 03:05:59 -07:00
Maxime Desroches fc3ec6ad35 docs: fix 3x shop link (#29212)
fix link
old-commit-hash: f18ff752d3c14b77eae89f0ca023979f584c5143
2023-08-02 10:50:07 -07:00
Shane Smiskol e3b5998998 Clean up common steer fault avoidance code (#29200)
* fix spacing

* more spacing

* better names and comments

* this default doesn't make sense

* or this

* explicitly boolean since latActive is
old-commit-hash: dba4492aa0b7b773f50816c5992fbe6e272d832f
2023-08-01 14:02:15 -07:00
Shane Smiskol d016d9fad7 Car docs: clean up docs_definitions (#29201)
* two spaces around class

* inch

* easier to read
old-commit-hash: 4474cb734fc7ba2062d848cd1b8dc12821277762
2023-08-01 13:24:51 -07:00
Justin Newberry 6c4a4e5d74 Homogenize Steering Fault Avoidance (#29140)
* fix subaru fault

* try this!

* wip

* try this

* this more or less worked

* this is all under gen2

* that needs to be up there

* comment

* steer_angle

* test

* wip

* wip

* sync

* wip

* cleanup

* remove print

* use sets and fix unittests

* common fault avoidance

* common fault avoidance

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* revert subaru to get this part merged

* revert name change

* revert name change

* revert name change

* same as before

* add test case

* also verify zero tolerance

* keep the current behavior

* split into multiple tests for easier debugging

* added comments and remove tests

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a19f8dce92bfe7242e64160cb86364d728b01d97
2023-08-01 10:27:06 -07:00
Justin Newberry 7648f35b1c Car Docs: (optionally) Display a list of tools (#28782)
* display tools

* 5/16 also works

* cleanup

* static fix

* fix static analysis

* merge

* just use basepart

* use filter
old-commit-hash: 1e1cc638d8e9fa408a02a57d689c13c2219d823d
2023-08-01 00:06:21 -07:00
Shane Smiskol 8540c4dcc6 FW query timing test: fix total time ref
old-commit-hash: 328bfefb5a6f2519210b04c802f6a0b9fbff0637
2023-07-31 22:18:06 -07:00
Pavel Galashin fcd84e35b9 Mazda: fingerprint 2023 Mazda CX-5 Carbon Edition (#29092)
fingerprint 2023 Mazda CX-5 Carbon Edition
old-commit-hash: 9992f852b2c9b4170396499be1f7ea7a44a3c8b6
2023-07-31 19:51:44 -07:00
Shane Smiskol e66c88e20c fingerprinting: always log CAN fingerprint (#29192)
* always log CAN fingerprint

* called finger
old-commit-hash: c8050cf6b379b70d1734d44d363b5d16fe8939f8
2023-07-31 18:26:05 -07:00
Justin Newberry cb45be4b6f Subaru: New LKAS Angle based cars in dashcam only (#29190)
* dashcam mode only

* fix name

* added those cars in dashcam mode only
old-commit-hash: 38954418f097f5267505df67ff275f7830191022
2023-07-31 13:58:33 -07:00
Cameron Clough b07e2bdb4a docs: remove experimental mode comments from unsupported cars
old-commit-hash: 2fd6310352c39f98501f8467c62854729197fa1e
2023-07-30 20:38:20 +01:00
Cameron Clough 141948c1fa docs: CAN FD cars require a comma 3X or CAN FD panda kit (#29182)
old-commit-hash: 2762a088f12b2e0f0cffca148bf35c8423daae6b
2023-07-30 20:29:56 +01:00
Marcus Millspaugh a185de7fdc Update Car/Subaru values.py to support 2022 Crosstrek (#29177)
* Update Car/Subaru values.py to support 2022 Crosstrek

Tested via SP, just want support via stock OP

* remove duplicates

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: d7e857730121c7c6426ebd7310c1db1e534c692c
2023-07-30 10:05:21 -07:00
Vivek Aithal 3b18903574 [commabody] Support both self-balancing bodies and the wheeled bodies (#29118)
* add wheeled body support

* add WheeledBody param

* make movement less jerky
old-commit-hash: 92448012f05a505d09f4c083e116a20e9f5b106d
2023-07-24 19:49:51 -07:00
Jason Young 3e7ea3e910 VW MQB: Add FW for 2021 Volkswagen Atlas (#29125)
old-commit-hash: 7ee9c4f94f06f260af3902e41ae2f5e6d4fce510
2023-07-24 16:34:30 -07:00
Erich Moraga 71941061c1 Toyota: add fwdCamera ECU version for 2022 Lexus RX Hybrid (#29060)
old-commit-hash: 1776c16f9a61dbb1e322f15d0f1f3c0a9eb936d8
2023-07-24 17:49:20 +01:00
Shane Smiskol 982f42ce98 disable_ecu: support sub-addresses (#29112)
allow sub_addrs
old-commit-hash: a31b1dcf16857ac94ce337fd5b6e1b4ab6b7d991
2023-07-23 18:34:35 -07:00
Saber422 e1304ee60e VW MQB: Add FW for 2023 Skoda Scala (#28962)
* VW MQB: Add FW for 2023 Skoda Scala

route name:0bbe367c98fa1538|2023-07-15--11-42-25--0

* extend MY

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 33ac7ce44c67d5c4ed5928f2a711c50cd6aacccb
2023-07-21 13:18:45 -07:00
Vivek Aithal ad986b39cf [GMC ACADIA DENALI 2018] Move to torque control, non-linear feed-forward (#28923)
* move GMC ACADIA to torque control, with a Bolt-like feedforward

* update offline values

* update offline values

* reduce friction

* update values

* update values

* cleanup
old-commit-hash: 3612c12b14b90bdc14151194b560a5ff8216b9e0
2023-07-21 11:28:48 -07:00
Shane Smiskol c869f920aa test_models: panda safety tx test (#28949)
* draft

* assertrue

* this is way too complicated, even with unittest discover

* works

* test we can send resume button

* nice catches this

* fix

* fixed

* not needed

* draft

* works

* comment out to let catch

* clean up into a function

* clean ups

* final clean up

* no this is final

* bump

* simplify

* simplify

* pass

* bump

* globals don't work inside methods

* space
old-commit-hash: 80bbba14f74e57bbe90216dfd0a99f6f68d77ca2
2023-07-20 23:16:43 -07:00
Adeeb Shihadeh b0c3778aae agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Shane Smiskol 71ebb6fd03 Toyota: add hybrid ECU FW versions for 2023 RAV4 Hybrid (#29023)
* add hybrid FW for a2c30de116fe186d

* add hybrid FW for 60b363805ee9fc06

* add hybrid FW for 5b05f9d3f9574132 & 459707e5f696e897

* remove from extra_ecus, we can't conditionally mark not logging

* add likely protocols
old-commit-hash: 527d13ad6782c6b03bf57b49fb8a99de324ae05b
2023-07-18 23:04:55 -07:00
Shane Smiskol 32d6b9994e test_car_interfaces: use DT_CTRL
old-commit-hash: 18cf253c625a8ae8b60e7b04f5859add37a3ad19
2023-07-18 20:01:22 -07:00
Adeeb Shihadeh 33e6aad83b Revert "Update pycapnp and Cython (#29021)"
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.

old-commit-hash: 9c307f2550ccade43409c9a5835203fdc355f26c
2023-07-18 18:47:35 -07:00
Maxime Desroches 6ba97408e9 Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f725834256d7b3429e2805739ccbed5
2023-07-18 16:40:36 -07:00
Shane Smiskol e5e1fd12b0 IsoTpParallelQuery: log empty responses (#29014)
* check if None

* log instead

* clean up

* should mark done
old-commit-hash: 29837b872802db8b445653f63c2c1ab67e7a27af
2023-07-18 03:43:56 -07:00
Cameron Clough 9741ecfe0f Ford: align car groups with convention
no plural

old-commit-hash: e7c858d590f84c4f476ec0a01eae67f49f7a114b
2023-07-18 11:42:15 +01:00
Shane Smiskol 9112df2b5e Toyota LTA: limit max angle with applied torque (#28848)
* draft

* clean up

* there was a bug, need to subtract from last_angle essentially

* Revert "there was a bug, need to subtract from last_angle essentially"

This reverts commit a595e4af64523665519fd450dbeb2fefd293ce2b.

* maybe

* Revert "maybe"

This reverts commit cc96523cc28b82e74018011e5a476be2e6f68d92.

* or can do this

* this seems simpler and actually would work

* update comment

* fix that case

* joystick testing

* revert testing changes

* comment should be more clear

* can have full thing

* bump panda to lta

* revert cc

* this seems to work well

* constants

* try setme_x64

* 99 just winds up torque?!

* try less torque

* add corolla

* clean up

* clean up

* clean up

* clean up

* better name

* -which

* fix

* fix typo

* use params
old-commit-hash: c01ba907c029ee76ba4c7084a7ae598b6c9fbaae
2023-07-18 01:58:21 -07:00
Shane Smiskol e69c1bff7f test car interface: fuzzy CarParams (#28931)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* can't easily

* clean up

* no import

* Apply suggestions from code review

* move into a function

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* come onn

* we know it will return a dict here
old-commit-hash: c9f80e89b7ab837b9a5402723e4e028155354dde
2023-07-18 01:49:01 -07:00
Shane Smiskol 6ee48e6a6d test car interfaces: more GM coverage (#28954)
* Update test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* make it fail

* catches crashed, not blocked
old-commit-hash: 44f7b312a0be638011a6f0b65fbb3f16e71b83ee
2023-07-18 01:42:51 -07:00
Shane Smiskol 4185aeb93b Nissan FPv2: use default diagnostic session (#28634)
* Revert "Nissan FPv2: log different diagnostic session types (#28585)"

This reverts commit 7b90843ea98d6034327e311c7025b9abc519055c.

* switch to standard KWP2000 diagnostic session type

* we're speedy again
old-commit-hash: 35aaf90587536e9ef5edfc1ec30c3fa2f1506aef
2023-07-17 18:21:18 -07:00
Shane Smiskol 38f28534dc Ford: fix CAN FD fingerprinting (#28995)
* fix CAN FD fingerprinting for now

* comment

* this is the simplest for now

* revert

* cmt

* todo and fixme!
old-commit-hash: 047bb46d3a0e73d1c7160252bcb6f2f7358980ee
2023-07-17 16:56:13 -07:00
Cameron Clough a9d16a7887 Ford: add back FW query ECU whitelists (#28993)
Partial revert of changes in #28974.
old-commit-hash: ed8f17df6559e1b4b0812fa2e6f91eef60e13795
2023-07-17 13:46:47 -07:00
Cameron Clough 381a6a35fd Ford: add F-150 2023 support (dashcam only) (#28974)
old-commit-hash: 17e71cdf4476d0d1b90b6e5e7c5be433e93d50c5
2023-07-17 16:16:28 +01:00
Cameron Clough 645479775d Ford: set CAN FD safety param (#28979)
old-commit-hash: d0e6076059e534874148ad5aecaea683dea35ec6
2023-07-16 13:00:42 -07:00
Cameron Clough 8c7e9b5cea Ford: sort FW versions
old-commit-hash: f30b859eca878d68f0eb94dfab0c1cb18e57f991
2023-07-16 16:09:18 +01:00
Shane Smiskol bbd3b3bc75 FuzzyGenerator: typing (#28934)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* do we need draw??

* draft

* this was confusing

* revert

* draft

* Revert "draft"

This reverts commit c593a03474b04d4df2648d8149798196c991a108.

* draft

* more typing!

* complete typing

* fix that

* cleanup

* better
old-commit-hash: f495c21805583f19e5cd4bd56b8b0445c74f35b3
2023-07-14 21:41:30 -07:00
Shane Smiskol ce88b7cf51 test_models: don't skip test cases with multiple pytest jobs (#28953)
* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
old-commit-hash: f6390c6e4092ee69ea73753419b86dd9d8b5cf27
2023-07-14 16:24:07 -07:00
Shane Smiskol 718fabb4d5 test_models: fix rx message bus (#28947)
Update test_models.py
old-commit-hash: c9c636bdd7de6a22e34fd2cbcbc8d5e612f4cfad
2023-07-14 14:04:24 -07:00
Shane Smiskol f06e9bd2dc Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
old-commit-hash: dd98dc48a1d599e0c5e167e422ecfd376f4a6769
2023-07-14 06:00:59 -07:00
Shane Smiskol d456293479 GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
old-commit-hash: 653daba9edad96215e16ab13089aed214e3e264d
2023-07-14 05:58:17 -07:00
dkondratov 1debe458ce Adding FW for 2023 Volkswagen Arteon (#28913)
5ac586afbb236b5d|2023-07-09--00-37-19

VIN: WVWTR7AN7PE011676

Co-authored-by: RC7777 <31451749+RC7777@users.noreply.github.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 5d67fe2a91022a89bcceda1f4b9b2e31e1e0bdbb
2023-07-14 11:58:08 +01:00
Shane Smiskol 28c64e4856 CanBusBase: fix offset calculation (#28938)
old-commit-hash: f99ac84b5ca8f48d044c4eaf0164b07c7b270fa0
2023-07-14 11:06:22 +01:00
Shane Smiskol 7eaa74b083 test car interfaces: support pytest (#28937)
sort
old-commit-hash: af7b2e4dd4ae026f18c526ac20e2a61adf56274f
2023-07-14 01:48:36 -07:00