Commit Graph

12355 Commits

Author SHA1 Message Date
Justin Newberry
0c143101c2 conftest: cleanup environment cleaner (#31486)
* clean env

* no self
old-commit-hash: 0cb206cb95ac3aa674d79ce0121893fbf7c68c88
2024-02-15 13:38:42 -08:00
Adeeb Shihadeh
467f440f29 fix linter
old-commit-hash: 663f7017f2476f3f50b23bfcbaa89947e4e99fbd
2024-02-15 13:35:49 -08:00
Adeeb Shihadeh
d79b2c1d18 Update RELEASES.md
old-commit-hash: eb5a847dc87fdbf2118aadd670487a5abd950f6c
2024-02-15 13:18:19 -08:00
Adeeb Shihadeh
8caf2530b3 debug/count_events.py improvements
old-commit-hash: 64851baea8e61d9e83b7935f3b4727a6409d62ce
2024-02-15 13:13:11 -08:00
Justin Newberry
bde8845913 test_qcomgpsd: subtest the gps_runtime scenarios (#31485)
* subtest this

* runtime

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2b9f7163ace207038d4d17096f056b61c7644ba
2024-02-15 13:12:11 -08:00
Justin Newberry
8dbdd4736c test_logreader: test internal scenarios (#31484)
* test source scenario

* test source scenario

* fix
old-commit-hash: 16d13395536e84ddf492b2352d827d33befd601e
2024-02-15 12:10:56 -08:00
Adeeb Shihadeh
d167a22be5 fix no GPS alert when driving slowly in a tunnel (#31483)
old-commit-hash: d31269f6639b86405708f05c098ac1fd665c3107
2024-02-15 11:52:57 -08:00
Justin Newberry
42f292b3ce test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE (#31481)
* fix spelling

* test interactive

* remove that

* test taht

* move that
old-commit-hash: 8aee0d2af2c9e9c1755afa2b46f68b199958ccdb
2024-02-15 11:24:27 -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
8df3314aed bump panda (#31472)
* bump

* fix renames
old-commit-hash: 68fcc955ac69cd9e2d1a58127bbae32a2b6da1e5
2024-02-14 20:47:30 -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
7ea1299abd Update RELEASES.md
old-commit-hash: 20db82641fa1432760ea518a6e28442c0d802907
2024-02-14 15:36:54 -08:00
Adeeb Shihadeh
3632dad8bb bump cereal (#31469)
* bump cereal

* bump cereal
old-commit-hash: 2f15c878d0365f4a48dc36344e5fa313bd22cb5b
2024-02-14 15:01:02 -08:00
Greg Hogan
6c51d1563d URLFile: add typing and internalize pool manager (#31466)
* URLFile: add typing and internalize pool manager

* cleanup
old-commit-hash: e59fe0014af6e97485c89502c747d3117f95e91a
2024-02-14 14:09:01 -08:00
Adeeb Shihadeh
4b8266da05 Reapply "radard: enable avg input service frequency checks (#31404)" (#31468)
This reverts commit d2ca0aba986826f94fc76c670e104980f93820fb.
old-commit-hash: 3cd0e5d43c5cdc00b32d69f021653e3a812427d8
2024-02-14 13:53:33 -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
Adeeb Shihadeh
4a713f4ff7 log all startups
old-commit-hash: 194bd85905348a66a44ba54a053424dbfcdaeb36
2024-02-14 11:44:19 -08:00
Justin Newberry
edd4649d24 LogReader: add typing hints (#31464)
logreader typing
old-commit-hash: 33cf6bda9ef6b1ed19f3a0fed4a5914a414ae653
2024-02-14 10:34:17 -08:00
Justin Newberry
38fc6f9dd6 LogReader: retain old behavior for direct parsing of files (#31419)
* maintain exception

* test that head is not called

* annoying mock

* test with cache
old-commit-hash: 1436f576df5f43f78b9253b5b2072fbf1414d9be
2024-02-14 10:05:25 -08:00
Jason Young
af9122c799 fix pre-commit install process (#31445)
* fix pre-commit install process

* only install pre-commit from a git repo
old-commit-hash: 991d02ba27cf84e7140aedd5ca4173ffe5cb0d58
2024-02-14 08:19:20 -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
9d941a9682 SegmentRange: more explicit slice matching (#31451)
* more explicit

* fix it

* use non capturing group

* only needed for regex101

* make test_logreader.py executable

* fix

* stash

* passes test

* none

* type anotate

* test

* fix

* nice for syntax highlighting
old-commit-hash: 796671fe1a9131275c4ff0d67293bb669d0dcd98
2024-02-14 04:36:58 -08:00
Shane Smiskol
5c16ae62d8 SegmentRange: simplify slice (#31455)
* simplify slicing

* rm
old-commit-hash: 8fe9bc7a6977f9f901b1ddf8eb0916ac80224644
2024-02-14 04:17:03 -08:00
Shane Smiskol
ae65a01afd SegmentRange: test API call (#31456)
* test

* better

* better
old-commit-hash: c4f7991bb63ba7953f37eb08f14d227fec8a5524
2024-02-14 03:29:08 -08:00
Shane Smiskol
7afdb2393d SegmentRange: type annotations (#31453)
* type annotate SegmentRange

* proper formatting

* oops

* numpy?

format test too

* draft

* fixed

* clean up

* rm

* more

* clean up

* clean up

* rm

* not here

* revert
old-commit-hash: 82763710097cbfe629502502163a7d2d6319f3fd
2024-02-14 02:05:55 -08:00
Shane Smiskol
4c7ad7f3b7 tools/lib: format code (#31454)
easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
old-commit-hash: 0846175f44ac9364527087db4ec54767e6884fca
2024-02-14 01:56:17 -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
a4e61c1022 SegmentRange: define __repr__
old-commit-hash: 884bd5c7f68018028620821c6b25b5f37e2f7841
2024-02-13 22:58: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
Justin Newberry
955508c7ab Revert "test_qcomgpsd: parametize tests" (#31441)
Revert "test_qcomgpsd: parametize tests (#31430)"

This reverts commit 29d2fa667dcb6617d947a6bc1e80479774396dc0.
old-commit-hash: 659cdec3d077cbcaba2521f45ecff396cb9f7cfb
2024-02-13 15:27:36 -08:00
Adeeb Shihadeh
4101f3d725 tici: log SOM ID (#31440)
* tici: log SOM ID

* no cat
old-commit-hash: 3cf845d9521f9062bbcc7ae0db7195576ca632a4
2024-02-13 15:01:32 -08:00
Adeeb Shihadeh
9fab120968 timed: publish clocks periodically (#31434)
* timed: publish clocks periodically

* simplify

* Apply suggestions from code review
old-commit-hash: c5739651a241788f9c84ebf705325de57aabfc39
2024-02-13 14:22:46 -08:00
Justin Newberry
8b5f1235f4 live_logreader to its own file (#31436)
own file
old-commit-hash: d6762c3035fac31cc9582c685c07441d61da0f83
2024-02-13 13:29:52 -08:00
Adeeb Shihadeh
b302e61dcc Revert "radard: enable avg input service frequency checks (#31404)"
This reverts commit d979307c058c4ae67a0731f46b7a1a721f890f89.

old-commit-hash: 7f7f1fd21b293901fa003dce8656db89e15726aa
2024-02-13 13:23:27 -08:00
Adeeb Shihadeh
1efa8db1b4 dongle id is only hex (#31426)
* dongle id is only hex

* so is the count
old-commit-hash: e9071f11988f780063e74c01c11bbb2dd7448bee
2024-02-13 13:01:25 -08:00
Justin Newberry
626c13bd84 CI: reduce car tests timeout (#31433)
* reduce cars timeout

* 10
old-commit-hash: b4a11a722955f5ca6dd787cfb3d34aeddc3d5255
2024-02-13 11:57:08 -08:00
Justin Newberry
c80b2283a4 test_qcomgpsd: parametize tests (#31430)
* parameterize qcomgpsd

* one line
old-commit-hash: 6f4d3883484d454b629d65a806b558692b890f09
2024-02-13 11:16:24 -08:00
Justin Newberry
f318325a25 jenkins: reduce connection timeouts (#31431)
reduce jenkins timeouts
old-commit-hash: cccf28b9cabb5b38e4243bd50ddd2c22ae023ca6
2024-02-13 11:02:21 -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