Commit Graph

2530 Commits

Author SHA1 Message Date
Shane Smiskol
8bff75c010 GM: remove unused CANParser flag (#29244)
setting to 0 does same thing
2023-08-04 21:42:34 -07:00
Kacper Rączy
1774b4fc61 Revert "radard: tie radard frequency to modelV2 (#29063)" (#29243)
This reverts commit 255f5c13f2.
2023-08-04 20:25:40 -07:00
David Peterson
b50ffc4360 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>
2023-08-04 20:21:04 -07:00
Shane Smiskol
082fe6868d 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
2023-08-04 16:10:49 -07:00
Shane Smiskol
fffc4ae446 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
2023-08-04 14:29:00 -07:00
Kacper Rączy
255f5c13f2 radard: tie radard frequency to modelV2 (#29063) 2023-08-03 22:10:21 -07:00
Saber
8332abf015 VW MQB: Add FW for 2019 Skoda Kodiaq (#29225)
route name:0bbe367c98fa1538|2023-08-01--12-21-06--0
2023-08-03 16:37:54 -07:00
Saber
2ff53a62eb VW MQB: Add FW for 2018 Skoda Superb (#29222)
route name:77478022b2ebc4b6|2023-07-31--19-00-38--45
2023-08-03 16:37:34 -07:00
Tenebrous
c438f2ba17 Toyota: add missing C-HR Hybrid 2020 (UK) FW (#29223) 2023-08-03 15:05:10 +01:00
Christian Bull Gjertsen
24bfb2b44b car docs: update Toyota vote link (#29218)
* Update CARS.md

Dead link

* fix link

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-03 03:05:59 -07:00
Maxime Desroches
f18ff752d3 docs: fix 3x shop link (#29212)
fix link
2023-08-02 10:50:07 -07:00
Shane Smiskol
dba4492aa0 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
2023-08-01 14:02:15 -07:00
Shane Smiskol
4474cb734f Car docs: clean up docs_definitions (#29201)
* two spaces around class

* inch

* easier to read
2023-08-01 13:24:51 -07:00
Justin Newberry
a19f8dce92 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>
2023-08-01 10:27:06 -07:00
Justin Newberry
1e1cc638d8 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
2023-08-01 00:06:21 -07:00
Shane Smiskol
328bfefb5a FW query timing test: fix total time ref 2023-07-31 22:18:06 -07:00
Pavel Galashin
9992f852b2 Mazda: fingerprint 2023 Mazda CX-5 Carbon Edition (#29092)
fingerprint 2023 Mazda CX-5 Carbon Edition
2023-07-31 19:51:44 -07:00
Shane Smiskol
c8050cf6b3 fingerprinting: always log CAN fingerprint (#29192)
* always log CAN fingerprint

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

* fix name

* added those cars in dashcam mode only
2023-07-31 13:58:33 -07:00
Cameron Clough
2fd6310352 docs: remove experimental mode comments from unsupported cars 2023-07-30 20:38:20 +01:00
Cameron Clough
2762a088f1 docs: CAN FD cars require a comma 3X or CAN FD panda kit (#29182) 2023-07-30 20:29:56 +01:00
Marcus Millspaugh
d7e8577301 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>
2023-07-30 10:05:21 -07:00
Vivek Aithal
92448012f0 [commabody] Support both self-balancing bodies and the wheeled bodies (#29118)
* add wheeled body support

* add WheeledBody param

* make movement less jerky
2023-07-24 19:49:51 -07:00
Jason Young
7ee9c4f94f VW MQB: Add FW for 2021 Volkswagen Atlas (#29125) 2023-07-24 16:34:30 -07:00
Erich Moraga
1776c16f9a Toyota: add fwdCamera ECU version for 2022 Lexus RX Hybrid (#29060) 2023-07-24 17:49:20 +01:00
Shane Smiskol
a31b1dcf16 disable_ecu: support sub-addresses (#29112)
allow sub_addrs
2023-07-23 18:34:35 -07:00
Saber422
33ac7ce44c 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>
2023-07-21 13:18:45 -07:00
Vivek Aithal
3612c12b14 [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
2023-07-21 11:28:48 -07:00
Shane Smiskol
80bbba14f7 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
2023-07-20 23:16:43 -07:00
Adeeb Shihadeh
1945c356c2 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>
2023-07-20 21:56:57 -07:00
Shane Smiskol
527d13ad67 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
2023-07-18 23:04:55 -07:00
Shane Smiskol
18cf253c62 test_car_interfaces: use DT_CTRL 2023-07-18 20:01:22 -07:00
Adeeb Shihadeh
9c307f2550 Revert "Update pycapnp and Cython (#29021)"
This reverts commit 76ef1b9b9f.
2023-07-18 18:47:35 -07:00
Maxime Desroches
76ef1b9b9f 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>
2023-07-18 16:40:36 -07:00
Shane Smiskol
29837b8728 IsoTpParallelQuery: log empty responses (#29014)
* check if None

* log instead

* clean up

* should mark done
2023-07-18 03:43:56 -07:00
Cameron Clough
e7c858d590 Ford: align car groups with convention
no plural
2023-07-18 11:42:15 +01:00
Shane Smiskol
c01ba907c0 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
2023-07-18 01:58:21 -07:00
Shane Smiskol
c9f80e89b7 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
2023-07-18 01:49:01 -07:00
Shane Smiskol
44f7b312a0 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
2023-07-18 01:42:51 -07:00
Shane Smiskol
35aaf90587 Nissan FPv2: use default diagnostic session (#28634)
* Revert "Nissan FPv2: log different diagnostic session types (#28585)"

This reverts commit 2f2b94758b.

* switch to standard KWP2000 diagnostic session type

* we're speedy again
2023-07-17 18:21:18 -07:00
Shane Smiskol
047bb46d3a Ford: fix CAN FD fingerprinting (#28995)
* fix CAN FD fingerprinting for now

* comment

* this is the simplest for now

* revert

* cmt

* todo and fixme!
2023-07-17 16:56:13 -07:00
Cameron Clough
ed8f17df65 Ford: add back FW query ECU whitelists (#28993)
Partial revert of changes in #28974.
2023-07-17 13:46:47 -07:00
Cameron Clough
17e71cdf44 Ford: add F-150 2023 support (dashcam only) (#28974) 2023-07-17 16:16:28 +01:00
Cameron Clough
d0e6076059 Ford: set CAN FD safety param (#28979) 2023-07-16 13:00:42 -07:00
Cameron Clough
f30b859eca Ford: sort FW versions 2023-07-16 16:09:18 +01:00
Shane Smiskol
f495c21805 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
2023-07-14 21:41:30 -07:00
Shane Smiskol
f6390c6e40 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
2023-07-14 16:24:07 -07:00
Shane Smiskol
c9c636bdd7 test_models: fix rx message bus (#28947)
Update test_models.py
2023-07-14 14:04:24 -07:00
Shane Smiskol
dd98dc48a1 Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
2023-07-14 06:00:59 -07:00
Shane Smiskol
653daba9ed GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
2023-07-14 05:58:17 -07:00