Commit Graph

11807 Commits

Author SHA1 Message Date
Adeeb Shihadeh be4bbca9a3
[bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks

* remove that

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh 4ded4c53af
thneed: printf -> cloudlog (#31506)
* thneed: printf -> cloudlog

* LOGI

* Revert "LOGI"

This reverts commit e6ab7e45fb.
2024-02-18 23:04:24 -08:00
Adeeb Shihadeh c6eae405a5
ensure startup is clean (#31504)
* strict

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-02-18 17:03:33 -08:00
Adeeb Shihadeh b28daef34a
controlsd: allow mismatch while boardd reads back mode (#31505)
* controlsd: allow mismatch while boardd reads back mode

* self
2024-02-18 14:43:42 -08:00
Shane Smiskol 49dd8b476c
[bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#31502)
Export fingerprints
2024-02-18 11:01:01 -08:00
Adeeb Shihadeh 79fa3954b7 bump panda 2024-02-17 14:29:46 -08:00
Shane Smiskol 07adbd347f Honda Accord: remove unknown ECU
Could be the radio/heater controller
2024-02-17 04:40:57 -08:00
Shane Smiskol 2e8c62358c
Honda Bosch: detect alternate brake signal (#31500)
* Do Accord

* add comment

* good test

* this catches the accord/accordh issue!

* as expected, only if both radar&camera have in common FW does the test fail

* cmt

* clean up

* better

* Use HondaFlags

* detect alt brake

* for test

* hypothesis isn't installed

* test failure

* works

* Revert " works"

This reverts commit bfc0d808ab.

* Revert "test failure"

This reverts commit 10ab6eb63c.

* Revert "hypothesis isn't installed"

This reverts commit d474cc3f0e.

* Revert "for test"

This reverts commit 98e039f4fc.

* this is important too

* clean up

* more clean up

* Update ref_commit
2024-02-17 04:03:12 -08:00
Adeeb Shihadeh 62f4eecf16
bump panda (#31498) 2024-02-16 23:18:51 -08:00
Shane Smiskol c5f1f4c676
test_fw_query_on_routes: get first qlog (#31496)
* fast

* this isn't internal

* see
2024-02-16 17:55:15 -08:00
Harald Schäfer 900300a928
Calibration Transform: border pad (#31495) 2024-02-16 15:18:26 -08:00
Mitchell Goff 86410a0ef0
Bumped model replay ref for new map tiles (#31493) 2024-02-16 22:32:43 +00:00
Adeeb Shihadeh b218abcaa3 controlsd: increase initializing timeout 2024-02-16 13:35:45 -08:00
Adeeb Shihadeh 0723c2bc5f
log git commit date (#31490)
* log git commit date

* unix ts

* fix

* bump cereal

* cleanup
2024-02-16 13:19:10 -08:00
Adeeb Shihadeh 5a441ec0c4
modeld: fix and cleanup getting carParams (#31488) 2024-02-15 22:20:00 -08:00
Shane Smiskol 0a5e994947
[bot] Fingerprints: add missing FW versions from new users (#31489)
Export fingerprints
2024-02-15 21:44:02 -08:00
Justin Newberry 0cb206cb95
conftest: cleanup environment cleaner (#31486)
* clean env

* no self
2024-02-15 13:38:42 -08:00
Adeeb Shihadeh 663f7017f2 fix linter 2024-02-15 13:35:49 -08:00
Adeeb Shihadeh eb5a847dc8
Update RELEASES.md 2024-02-15 13:18:19 -08:00
Adeeb Shihadeh 64851baea8 debug/count_events.py improvements 2024-02-15 13:13:11 -08:00
Justin Newberry c2b9f7163a
test_qcomgpsd: subtest the gps_runtime scenarios (#31485)
* subtest this

* runtime

---------

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

* test source scenario

* fix
2024-02-15 12:10:56 -08:00
Adeeb Shihadeh d31269f663
fix no GPS alert when driving slowly in a tunnel (#31483) 2024-02-15 11:52:57 -08:00
Justin Newberry 8aee0d2af2
test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE (#31481)
* fix spelling

* test interactive

* remove that

* test taht

* move that
2024-02-15 11:24:27 -08:00
Shane Smiskol baa77ced19
TestFwFingerprint: test to prevent mismatches when utilizing non-essential ECUs (#31478)
* test

* same speed
2024-02-15 00:35:21 -08:00
Shane Smiskol 62c51e2d0c HKG CAN FD: fix bus 0 VIN addr
Added camera addr instead of cluster on accident here: https://github.com/commaai/openpilot/pull/31348
2024-02-14 23:35:59 -08:00
Shane Smiskol b1f452d42b
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
2024-02-14 23:27:07 -08:00
Shane Smiskol 622d099d00
Toyota: check ACC_CONTROL for relay malfunction (#31475)
toyota: check acc control for relay malfunction
2024-02-14 21:55:33 -08:00
Shane Smiskol 55ba64568d
test_models: add RAV4 route without relay malfunction (#31474)
add it back
2024-02-14 21:41:01 -08:00
Shane Smiskol 0e94567a18
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
2024-02-14 21:32:44 -08:00
Shane Smiskol 68fcc955ac
bump panda (#31472)
* bump

* fix renames
2024-02-14 20:47:30 -08:00
Shane Smiskol c65dfaac68
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!
2024-02-14 20:06:14 -08:00
Shane Smiskol 9acc55861c
VIN: lower retries (#31471)
* lower retries

* comment
2024-02-14 17:08:12 -08:00
Adeeb Shihadeh 20db82641f
Update RELEASES.md 2024-02-14 15:36:54 -08:00
Adeeb Shihadeh 2f15c878d0
bump cereal (#31469)
* bump cereal

* bump cereal
2024-02-14 15:01:02 -08:00
Greg Hogan e59fe0014a
URLFile: add typing and internalize pool manager (#31466)
* URLFile: add typing and internalize pool manager

* cleanup
2024-02-14 14:09:01 -08:00
Adeeb Shihadeh 3cd0e5d43c
Reapply "radard: enable avg input service frequency checks (#31404)" (#31468)
This reverts commit 7f7f1fd21b.
2024-02-14 13:53:33 -08:00
Adeeb Shihadeh 6f905ed979
radard: remove sleep for cars without radar (#31467)
* radard: remove sleep for cars without radar

* fix

* update refs
2024-02-14 13:12:54 -08:00
Adeeb Shihadeh 194bd85905 log all startups 2024-02-14 11:44:19 -08:00
Justin Newberry 33cf6bda9e
LogReader: add typing hints (#31464)
logreader typing
2024-02-14 10:34:17 -08:00
Justin Newberry 1436f576df
LogReader: retain old behavior for direct parsing of files (#31419)
* maintain exception

* test that head is not called

* annoying mock

* test with cache
2024-02-14 10:05:25 -08:00
Jason Young 991d02ba27
fix pre-commit install process (#31445)
* fix pre-commit install process

* only install pre-commit from a git repo
2024-02-14 08:19:20 -08:00
JJeonbear beab6e8658
Ioniq 5 2022 AWD FWD camera update (#31322)
* Update fingerprints.py

Update IONIQ5 fwdCamera

* Update fingerprints.py

* Update fingerprints.py
2024-02-14 05:26:25 -08:00
Shane Smiskol 796671fe1a
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
2024-02-14 04:36:58 -08:00
Shane Smiskol 8fe9bc7a69
SegmentRange: simplify slice (#31455)
* simplify slicing

* rm
2024-02-14 04:17:03 -08:00
Shane Smiskol c4f7991bb6
SegmentRange: test API call (#31456)
* test

* better

* better
2024-02-14 03:29:08 -08:00
Shane Smiskol 8276371009
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
2024-02-14 02:05:55 -08:00
Shane Smiskol 0846175f44
tools/lib: format code (#31454)
easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
2024-02-14 01:56:17 -08:00
Shane Smiskol 9479686fa3
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 e628ba73d5.

* same as jenkins
2024-02-13 23:00:44 -08:00
Shane Smiskol 884bd5c7f6 SegmentRange: define __repr__ 2024-02-13 22:58:44 -08:00