Commit Graph

3207 Commits

Author SHA1 Message Date
Shane Smiskol ad17cfc6fd [bot] Fingerprints: add missing FW versions from new users (#31489)
Export fingerprints
old-commit-hash: 0a5e994947170dde632c20069b80470e8c8df31e
2024-02-15 21:44:02 -08:00
Shane Smiskol 7089ac644b TestFwFingerprint: test to prevent mismatches when utilizing non-essential ECUs (#31478)
* test

* same speed
old-commit-hash: baa77ced19add6241cdc634840205b7115c584ab
2024-02-15 00:35:21 -08:00
Shane Smiskol 0fd2443182 HKG CAN FD: fix bus 0 VIN addr
Added camera addr instead of cluster on accident here: https://github.com/commaai/openpilot/pull/31348

old-commit-hash: 62c51e2d0cb0ea6d160396c7afede9e75f9219f4
2024-02-14 23:35:59 -08:00
Shane Smiskol d391096aa5 Toyota TSS2: radar disable support (#29094)
* try to disable radar

* fix bug and bump panda

* prep

* always attempt longitudinal for testers

* fix rav4

* send ACC_HUD

* bump panda

* revert

* check for failure to disable

* fix arg

* allow

* this has no effect

* bump

* update docs

* bug fix

* fix

* check relay malfunc for acc control

* remove route where SDSU caused a relay malfunction

* missing rav4

* bump

* use chr route

* bump

* add back

* relay malfunction

* bump to master

* add to releases
old-commit-hash: b1f452d42b58336fe24f83f2bc0ac54116a83b2b
2024-02-14 23:27:07 -08:00
Shane Smiskol b17e4ca977 Toyota: check ACC_CONTROL for relay malfunction (#31475)
toyota: check acc control for relay malfunction
old-commit-hash: 622d099d0001bd1c697af1f4ef7c11304561e575
2024-02-14 21:55:33 -08:00
Shane Smiskol af4e7595f1 test_models: add RAV4 route without relay malfunction (#31474)
add it back
old-commit-hash: 55ba64568d1b1be75ce5394352566c3f22cde0ce
2024-02-14 21:41:01 -08:00
Shane Smiskol 9aff682d57 Toyota: only read gas interceptor if we're using it (#31473)
* we shouldn't be reading from interceptor and not writing/sending gas command

* better

* add a test!

* comment is clear
old-commit-hash: 0e94567a181e75243321e05c1397259635697f68
2024-02-14 21:32:44 -08:00
Shane Smiskol df43e2539d Leaf: get VIN (#31398)
* Add Leaf VIN query

* add lots of requests

* add exception for nissan

* no more logging

* update refs

* lower worst case

* Update selfdrive/car/car_helpers.py

* update refs

* it's the vcm!
old-commit-hash: c65dfaac68bbf836900dd612a33667cb00cdf854
2024-02-14 20:06:14 -08:00
Shane Smiskol 8e7578fc23 VIN: lower retries (#31471)
* lower retries

* comment
old-commit-hash: 9acc55861cfe5f78bca6d46762b38c4f5903ea6c
2024-02-14 17:08:12 -08:00
Adeeb Shihadeh 66adafe850 radard: remove sleep for cars without radar (#31467)
* radard: remove sleep for cars without radar

* fix

* update refs
old-commit-hash: 6f905ed979cb8e217c182c653528df3a6094015b
2024-02-14 13:12:54 -08:00
JJeonbear 1f833f2ec5 Ioniq 5 2022 AWD FWD camera update (#31322)
* Update fingerprints.py

Update IONIQ5 fwdCamera

* Update fingerprints.py

* Update fingerprints.py
old-commit-hash: beab6e86589d80c51ce18418ff9242af1ec759df
2024-02-14 05:26:25 -08:00
Shane Smiskol 1f67acfed9 test models: more examples in CI (#31444)
* more examples

* how is it so fast?!

* 500

* is there a hypothesis cache?

all

* Revert "is there a hypothesis cache?"

This reverts commit e628ba73d5b639e36f95df0ab9049697b34a58b8.

* same as jenkins
old-commit-hash: 9479686fa399ed95232d9419c1e566fb51ce586f
2024-02-13 23:00:44 -08:00
Shane Smiskol b167e32395 Mazda: fix potential standstill panda mismatch (#31449)
* repro mazda standstill mismatch

* fix mazda standstill mismatch

* clean up
old-commit-hash: b163c1f255caa0284e03ec0a2f27a748cdd339e3
2024-02-13 22:02:04 -08:00
Shane Smiskol 87076be5d7 Toyota: fix high driver torque LKAS fault regression (#31448)
one latactive
old-commit-hash: 136dc0313acecda44ec0dd4718ef98b614b4936c
2024-02-13 21:49:18 -08:00
Shane Smiskol c88a676bd9 Revert "Hyundai CAN-FD: Panda safety config assignments cleanup (#29733)" (#31443)
This reverts commit 2bfad873b1e2d314c0ea994dd6680dfb61efdead.
old-commit-hash: cff1ad9dd3616985067f26058a1a02fa2d843eb1
2024-02-13 21:11:22 -08:00
Eric Brown b7ee831a51 GM: Remove Equinox from dashcam mode (#31257)
* Remove Equinox from dashcam mode

* Add fingerprint

* Set moving backward only if not moving forward

* Bump opendbc

* Update moving backward definition

* Update docs

* Bump opendbc

* REVERTME: Add assert statement at Shane's request

* REVERTME: check unsupported and fault status

* Revert "REVERTME: check unsupported and fault status"

This reverts commit 5a0ebad66c4dcd33ee4eb5d0c5d3f036244653e2.

* Revert "REVERTME: Add assert statement at Shane's request"

This reverts commit b4b885eb11ad3079a84033f20f670cc905113bb9.

* Use or

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

* Add comment

* Add test route

* Use newer fingerprint

* Emtpy commit to rerun CI

* Empty commit to rerun CI

* Update selfdrive/car/gm/fingerprints.py

* little more

* remove from non-tested

* update

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 416e8253ec5a5c5d509fd3410de76c4fb995e91a
2024-02-12 21:35:44 -08:00
Shane Smiskol 4970ae9ced Toyota: log engine RPM (#31423)
* Update carstate.py

* 42 is safe

* mirai

* we hit this after 30 mins: Exceeded message traversal limit.  See capnp::ReaderOptions.

* too easy to write this bug, no need to be generic yet

* Update ref_commit
old-commit-hash: 04ada8e4368bb80db350a1a748d2884d60c6770e
2024-02-12 21:28:16 -08:00
Justin Newberry cc42100cce FCA: car port for Dodge Durango 2021 (#31015)
* dodge durango

* add dodge

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

* add comment

* more exact

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 78e4508e3bc1efc49cbc43e76d6467ca506601e1
2024-02-12 21:04:53 -08:00
Shane Smiskol fd90b74ea1 Ford: log traction control status (#31424)
* not sure which to use

* cluster changes a bit earlier andis already used for nonAdaptive
old-commit-hash: cabde52ac6124ac2ae4259a51bc67dc1e3769bec
2024-02-12 19:20:49 -08:00
Shane Smiskol 54a012c30d [bot] Fingerprints: add missing FW versions from new users (#31414)
Export fingerprints
old-commit-hash: 22c966d8fd20d94a883d80cdd5b7830e1fd35b84
2024-02-12 09:38:41 -08:00
Shane Smiskol 2b7c8650b2 [bot] Fingerprints: add missing FW versions from new users (#31403)
Export fingerprints
old-commit-hash: 3cf7b05a30c92a9412102f3e96d3e1cc8496e479
2024-02-11 09:56:34 -08:00
Justin Newberry 5d424abf32 Subaru: add message for angle LKAS (#31402)
add angle
old-commit-hash: 33e6158d9ba488a21c5210438170656f72c53c96
2024-02-10 17:47:06 -08:00
Shane Smiskol 1210e93378 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#31396)
Export fingerprints
old-commit-hash: 743c418a6c613bb8145211b8e0717629197a8ece
2024-02-09 22:24:49 -08:00
Adeeb Shihadeh b4c03185d4 bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
old-commit-hash: daceb171bde5aef4ea483e8054456187772afe92
2024-02-09 21:44:23 -08:00
Shane Smiskol 87f0f0f7f9 [bot] Fingerprints: add missing FW versions from new users (#31395)
Export fingerprints
old-commit-hash: 8416331c15acd2f071b147c5c6ed00c1766b7a1f
2024-02-09 20:29:40 -08:00
Shane Smiskol 7215468455 Honda Civic & CR-V Bosch: allow fingerprinting without comma power (#31259)
* Honda Civic Bosch: remove OBD-reliant ECUs from fingerprinting

* eligible to fingerprint with these responses now

* same for CRV bosch

* add back all FW to test fingerprinting diff on data

* set these ECUs as non essential instead

* comment

* compare old fingerprinting with non essential fingerprinting

* clean up

* cmt
old-commit-hash: e02ec88b1c6f02a7673f19f21afde51fbe460ae3
2024-02-09 17:23:47 -08:00
Shane Smiskol 0d855c1777 Honda: add missing FW for CR-V 2018 (#31388)
export
old-commit-hash: 68899136dd0d6a7ed5a23b8b78ac73a074d7a6ca
2024-02-09 14:09:01 -08:00
Shane Smiskol c4b78042dd [bot] Fingerprints: add missing FW versions from new users (#31387)
Export fingerprints
old-commit-hash: cf97c69067f0411393440570d06e3dff6b73bf99
2024-02-09 10:54:41 -08:00
Shane Smiskol 63f66cae26 [bot] Fingerprints: add missing FW versions from new users (#31372)
Export fingerprints
old-commit-hash: d61b8c90b6d4a654b0a16db1ada2e40f274324d0
2024-02-08 10:43:06 -08:00
Jason Wen 09a00c1ac6 HKG: Add missing FW versions for Kia Forte 2023 (#30761)
* HKG: Add FW versions for Kia Forte 2023

* more fw

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fabb739dbec27726f7af0eeb0d938258181884c2
2024-02-07 23:45:08 -08:00
Shane Smiskol 227388a1b5 IsoTpParallelQuery: type hinting (#31370)
* start typing

* fixes

* we only plan on using this for lists

* sort

* this is the correct way to type it

* it knows this!

* it's getting smarter
old-commit-hash: 74ec33f7c7ffe44b48bc738930d3485d38afce09
2024-02-07 22:53:55 -08:00
Shane Smiskol e5099a0c64 VIN: fix rx addr (#31369)
fix rx vin addr
old-commit-hash: b6d195f0100bfc86ccefa0eed49716eaf57c1c6b
2024-02-07 21:43:52 -08:00
Shane Smiskol 7ef1812968 fix static analysis
old-commit-hash: 0355ceaeacff5a3d0e435fbd5e44cb94b3dea37d
2024-02-07 19:57:33 -08:00
Shane Smiskol b8952216c0 test_fw_fingerprint: remove timeout
it's fast now
old-commit-hash: 1b0a4746eb085dad56445ffeb0f4e3b020ea3afb
2024-02-07 19:47:20 -08:00
Shane Smiskol 261ee6d7fd [bot] Fingerprints: add missing FW versions from new users (#31358)
Export fingerprints
old-commit-hash: 768fee7e448652cca27ccbd445447a75b4734c32
2024-02-07 16:45:03 -08:00
Shane Smiskol a1425925e2 [bot] Fingerprints: add missing FW versions from new users (#31352)
Export fingerprints
old-commit-hash: 08c3107163e9a9f47df3078d2e8198b29e75d579
2024-02-07 15:46:58 -08:00
Justin Newberry abb7672b9b add cd for jenkins replacement scripts (#31355)
fix dirs
old-commit-hash: 6a463503a7a2d0c8f2d76c5633b9c9308b3c850c
2024-02-07 15:40:36 -08:00
Nelson Chen 5093d6323b Update Lexus LC Convertible Steer Ratio to 13 (#31354)
https://media.lexus.co.uk/wp-content/uploads/sites/3/2021/06/1612190405210201MLCConvertibleTechSpec.pdf

Minor follow-up to port
old-commit-hash: b234f5abef1a1858c8b7abb2dea1f0965aeb92ae
2024-02-07 12:34:45 -08:00
Nelson Chen 26f7e788b3 Lexus LC 2024 (#31199)
* Initial pass

* Add physical measurements for LEXUS_LC_2024

* Add new test route for TOYOTA.LEXUS_LC_TSS2

* Add new public-OK test route for TOYOTA.LEXUS_LC_TSS2

* update docs

* | not /

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 879e2521ac59d2440455ef362bce8f8ac643f658
2024-02-07 11:45:12 -08:00
Justin Newberry 4ad5ba1864 jenkins: remove pc / car tests (#31353)
* move to scripts

* clean first

* cant have test_*?

* move
old-commit-hash: 8f67d3cab9bb7031f3350b0c320606aa843503d5
2024-02-07 11:33:52 -08:00
Shane Smiskol acc2a03812 HKG CAN FD: potentially get VIN without OBD port on some platforms (#31348)
* add cluster

* think this works

* update refs

not 1

* only add the new address

* bb

* comment
old-commit-hash: 8f5dcb30199faf0e1e89f0b6ad6a3af3880afc1e
2024-02-07 00:23:16 -08:00
Shane Smiskol 6d956f9297 Hyundai: log camera manufacture date (#31345)
* log manufac date

* oof

* should be safe

* update refs
old-commit-hash: fabec9964584ace9063fc92203bf9f6912f47310
2024-02-07 00:07:01 -08:00
Shane Smiskol b0f087bb7d Hyundai: add PT queries for all ECUs (#31334)
* We never had any bus 0 logging queries for CAN!

* should be logging

* try all, and try on can fd as well

* update refs

* oof forgot about hda2 can fd where pt is bus 1

* sheesh

* fix the timing

* fix ref
old-commit-hash: bcd29a2b8af7c7364040716926d5c18ccd89ca7c
2024-02-06 20:37:26 -08:00
Shane Smiskol 07bb2e7e89 FW query timing test: fix total reference time (#31344)
* We never had any bus 0 logging queries for CAN!

* should be logging

* try all, and try on can fd as well

* update refs

* oof forgot about hda2 can fd where pt is bus 1

* sheesh

* fix the timing

* not here

* revert

* this just simply measured the total time of all the brands with aux queries (1.25s)

* clean up
old-commit-hash: 4ec0ed311c4def6106911c24d5a19e6a9b1fbfd2
2024-02-06 20:10:06 -08:00
Shane Smiskol 7625513129 HKG: mark queries as logging (#31343)
* should be logging

* fix cmt
old-commit-hash: a07259d7656c2f0d6184f903b8c09ef8e6ef585e
2024-02-06 19:37:15 -08:00
Justin Newberry 572744128e test_models: cleanup by using new logreader (#31267)
* cleanup

* only check error

* this segment only

* fix

* fix

* keep this

* fix internal
old-commit-hash: 66dc7030de1b39bd814cc20091d22ec38976523b
2024-02-06 16:50:30 -08:00
gaanthony 322311a052 Update fingerprints.py - for 2023 Kia Sorento X-Line SX Prestige (#31286)
* Update fingerprints.py - for 2023 Kia Sorento X-Line SX Prestige

* Update fingerprints.py - fix file for unit tests

* Update fingerprints.py

trailing

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 30dd1087ea556febcb0830cbe4b8c425206ef733
2024-02-06 16:00:24 -08:00
Tico Fortes 4152e83b3a Add fingerprint Hyundai Tucson Hibrid 2022 Europe (#31291)
old-commit-hash: 1185645271705cd93c4c021688c8913aa83a44b2
2024-02-06 15:55:01 -08:00
Shane Smiskol 325602a13e [bot] Fingerprints: add missing FW versions from new users (#31277)
Export fingerprints
old-commit-hash: d5821c681229fa4fbb0de6bade04e2aa1b736880
2024-02-06 01:47:51 -08:00
dblacknc fd92c45b04 Add fingerprint and car info for 2021 Kia Niro PHEV (#31275)
* Add 2021 Kia Niro Plug-in Hybrid

* Added CAR.KIA_NIRO_PHEV_2021

* Added CAR.KIA_NIRO_PHEV_2021

Created new block and moved 2022 model to it as well, with correct mass and steerRatio values.

* Added 2021 Kia Niro PHEV

* Added 2021 Kia Niro PHEV

For now, using 2020 Niro EV torque data

* Update values.py

Add '21 Kia Niro PHEV to HYBRID_CAR for gas signal and DBC info

* Test route for 2021 Kia Niro PHEV

* Add public test route for 2021 Kia Niro PHEV

* Fixed typo in test route for 2021 Kia Niro PHEV

* Move '21 Kia Niro PHEV car info under '22

...and remove other mention of '21 as distinct car

* Added '21 Kia Niro PHEV fingerprint under '22

...and removed separate car definition

* Removed '21 Kia Niro PHEV as separate car, now under '22

* Removed '21 Kia Niro PHEV, now under '22 fingerprint

* Removed test route for '21 Kia Niro PHEV

* Update values.py

Missed removing one more reference to '21 Kiro Niro PHEV, consolidating under '22.

* Update selfdrive/car/hyundai/interface.py

* Update selfdrive/car/hyundai/fingerprints.py

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 75ea3f3e3ab6d32d4f6b0179a5dc8bc8664e64d8
2024-02-06 01:10:10 -08:00