Commit Graph

16653 Commits

Author SHA1 Message Date
Adeeb Shihadeh d79b2c1d18 Update RELEASES.md
old-commit-hash: eb5a847dc8
2024-02-15 13:18:19 -08:00
Adeeb Shihadeh 8caf2530b3 debug/count_events.py improvements
old-commit-hash: 64851baea8
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: c2b9f7163a
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: 16d1339553
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: d31269f663
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: 8aee0d2af2
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: baa77ced19
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: 62c51e2d0c
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: b1f452d42b
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: 622d099d00
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: 55ba64568d
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: 0e94567a18
2024-02-14 21:32:44 -08:00
Shane Smiskol 8df3314aed bump panda (#31472)
* bump

* fix renames
old-commit-hash: 68fcc955ac
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: c65dfaac68
2024-02-14 20:06:14 -08:00
Shane Smiskol 8e7578fc23 VIN: lower retries (#31471)
* lower retries

* comment
old-commit-hash: 9acc55861c
2024-02-14 17:08:12 -08:00
Adeeb Shihadeh 7ea1299abd Update RELEASES.md
old-commit-hash: 20db82641f
2024-02-14 15:36:54 -08:00
Adeeb Shihadeh 3632dad8bb bump cereal (#31469)
* bump cereal

* bump cereal
old-commit-hash: 2f15c878d0
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: e59fe0014a
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: 3cd0e5d43c
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: 6f905ed979
2024-02-14 13:12:54 -08:00
Adeeb Shihadeh 4a713f4ff7 log all startups
old-commit-hash: 194bd85905
2024-02-14 11:44:19 -08:00
Justin Newberry edd4649d24 LogReader: add typing hints (#31464)
logreader typing
old-commit-hash: 33cf6bda9e
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: 1436f576df
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: 991d02ba27
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: beab6e8658
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: 796671fe1a
2024-02-14 04:36:58 -08:00
Shane Smiskol 5c16ae62d8 SegmentRange: simplify slice (#31455)
* simplify slicing

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

* better

* better
old-commit-hash: c4f7991bb6
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: 8276371009
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: 0846175f44
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: 9479686fa3
2024-02-13 23:00:44 -08:00
Shane Smiskol a4e61c1022 SegmentRange: define __repr__
old-commit-hash: 884bd5c7f6
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: b163c1f255
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: 136dc0313a
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: cff1ad9dd3
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: 659cdec3d0
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: 3cf845d952
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: c5739651a2
2024-02-13 14:22:46 -08:00
Justin Newberry 8b5f1235f4 live_logreader to its own file (#31436)
own file
old-commit-hash: d6762c3035
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: 7f7f1fd21b
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: e9071f1198
2024-02-13 13:01:25 -08:00
Justin Newberry 626c13bd84 CI: reduce car tests timeout (#31433)
* reduce cars timeout

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

* one line
old-commit-hash: 6f4d388348
2024-02-13 11:16:24 -08:00
Justin Newberry f318325a25 jenkins: reduce connection timeouts (#31431)
reduce jenkins timeouts
old-commit-hash: cccf28b9ca
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: 416e8253ec
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: 04ada8e436
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: 78e4508e3b
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: cabde52ac6
2024-02-12 19:20:49 -08:00
Justin Newberry 71ad682759 jenkins: kill subprocesses on exit (#31422)
* kill-on-exit

* kill all
old-commit-hash: 7010aae0a9
2024-02-12 15:41:04 -08:00
Adeeb Shihadeh 63d5b15a3a radard: enable avg input service frequency checks (#31404)
* radard: enable avg frequency checks

* freq

* update cpu

* fix diff
old-commit-hash: 4b004d59f3
2024-02-12 15:00:01 -08:00