Shane Smiskol
4cd205fd36
Toyota: set stop and go if TSS2 car ( #29303 )
...
we should assume all TSS2 have stop and go (because we set them all manually)
old-commit-hash: 6ffdc32bfc7bcd53ecc5264e6cd6299081c9e8ee
2023-08-09 17:46:06 -07:00
Shane Smiskol
8714f1a406
interfaces: test interface attributes ( #29301 )
...
* test
* draft
* draft
* clean up
* clean up
* better test
* clean up
* check car info
* uncomment
* rm space
* no loop
* use dbc
* more clear
* one line
old-commit-hash: 225ed2ed5a7221974e44c6d1307f959678f237ea
2023-08-09 17:01:38 -07:00
Adeeb Shihadeh
a55a8849b3
Revert "interfaces: test interface attributes ( #29297 )"
...
This reverts commit 55af4cce3d3955ca0ecdb98517089a0a42b53ad2.
old-commit-hash: 51831d03a3e79d7d9765e173a2eefac1cf0bb694
2023-08-09 16:28:12 -07:00
Shane Smiskol
cfa3ff0fba
interfaces: test interface attributes ( #29297 )
...
* test
* draft
* draft
* clean up
* clean up
* better test
* clean up
* check car info
* uncomment
* rm space
* no loop
* use dbc
* more clear
* one line
old-commit-hash: 6a678cde6c3ed95ffb5d7236108e9a317517370b
2023-08-09 16:10:30 -07:00
Justin Newberry
3ee0786de3
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
LC
3489b482f1
Toyota: Lexus IS 2023 port ( #29257 )
...
* added LEXUS_IS_TSS2 to values.py
* added LEXUS_IS_TSS2 to interface.py
* Apply suggestions from code review
* add torque params
* add test route
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 5ace930c5c2ec135578242b4cea49290bb3ce035
2023-08-08 16:34:37 -07:00
Irene
229bb21c9a
Toyota: rename ACC_HUD to PCS_HUD ( #29150 )
...
* Toyota: rename ACC_HUD to PCS_HUD
* bump opendbc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 2bceb2425f57c1c19e2d7f10d36386aaa1575ef1
2023-08-08 15:24:57 -07:00
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b0c9bfe5ccfc8e64321af6bb6c56536
2023-08-08 14:24:04 -07:00
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a93cf6cb1f8bd2fff1431716b3a47e4
2023-08-08 13:41:30 -07:00
Cameron Clough
11f0523e8c
Ford: update Maverick 2022 docs ( #29280 )
...
old-commit-hash: 95289cb180ac53cbe0f522fcbd81a8ad0019a2cc
2023-08-08 11:47:23 +01:00
Shane Smiskol
22187ad0fe
Toyota: rename Toyota A harness ( #29269 )
...
* add toyota b harness
* not used yet
old-commit-hash: 8d3e661f795260ebd708975105d98f1bdbbcf181
2023-08-07 15:31:50 -07:00
Saber
62ec8c5b35
VW MQB: Add FW for 2023 Skoda Karoq ( #29264 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: fa504b7baec829214322e1b58182e3d9ba3d6bbd
2023-08-07 22:38:59 +01:00
Shane Smiskol
5d45abcb55
GM: remove unused CANParser flag ( #29244 )
...
setting to 0 does same thing
old-commit-hash: 8bff75c010afb04b3acc43ebec312be01dd4efe3
2023-08-04 21:42:34 -07:00
Kacper Rączy
c92e7265a6
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 4b221cb4fd271664ab7d39c5cfefb4225ca07c2a.
old-commit-hash: 1774b4fc61c8f92fae16545a68854238660737e6
2023-08-04 20:25:40 -07:00
David Peterson
c0802af169
Nissan: allow B drive mode for Nissan Leaf ( #29228 )
...
* CAR.LEAF: NissanCarInfo("Nissan Leaf 2018-22”), video_link= "https://youtu.be/vaMbtAh_0cY&t=0s "),
Add Youtube video 2019 Leaf
* Update selfdrive/car/nissan/values.py
* Update interface.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: b50ffc436037354ad5f13580db8d2dede8010a5c
2023-08-04 20:21:04 -07:00
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