Commit Graph

12376 Commits

Author SHA1 Message Date
Harald Schäfer 48bd8c2aaa Modeld: cleanup unused variables (#31516)
Modeld: cleanup used variables
old-commit-hash: d371fb042c7a7c22f90ba99340ca1dd705f7e22d
2024-02-19 17:07:15 -08:00
Adeeb Shihadeh 01945d439f More startup checks (#31511)
* no lag!

* kill first

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1145122b3fea1ddb8aa49a97688f6b52155bd202
2024-02-19 13:58:36 -08:00
Milan Medić 284450400e add Cython static analysis (#31491)
* Adding pre-commit hook for cython static analysis

* Adding changes to cython files to pass static analysis

* Revert "Adding changes to cython files to pass static analysis"

This reverts commit 9a0eb733199abd9eef1eac3d024ef2760348d67c.

* Adding ignore rule for indentation of 4 spaces (E111)

* Fixes for cython-lint static analysis

* Revert "Fixes for cython-lint static analysis"

This reverts commit 972741735b2bdc73460d65a4d7ea167dfc0f4644.

* Adding two new rules into ignore list (2 new lines after difinition of class)

* Adding fixes for cython static analysis
old-commit-hash: 69fb3c2ed5b41858545461466004339325e413a1
2024-02-19 12:11:56 -08:00
Adeeb Shihadeh 342a84c84b [bot] Bump submodules (#31507)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 37206a83fe40a8f359b9e95d139b1e8b4442781b
2024-02-19 10:54:06 -08:00
Adeeb Shihadeh 1afe1fed8a more modeld logging (#31510)
old-commit-hash: 86184b76d5cf557e0b76efe64913e3dea85f4f4c
2024-02-19 10:46:04 -08:00
Adeeb Shihadeh c925fd2d89 [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>
old-commit-hash: be4bbca9a32f3bd3f65eaf26f4f5b65d2fc14608
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh 79209662d6 thneed: printf -> cloudlog (#31506)
* thneed: printf -> cloudlog

* LOGI

* Revert "LOGI"

This reverts commit e6ab7e45fb7f3678727595f67c1f6c8e2cda734b.
old-commit-hash: 4ded4c53af55eed17cd18fece71a4fcd72ec8237
2024-02-18 23:04:24 -08:00
Adeeb Shihadeh 4a11cb2f89 ensure startup is clean (#31504)
* strict

* cleanup

---------

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

* self
old-commit-hash: b28daef34ad213670418bdbf82ae999f38ac9409
2024-02-18 14:43:42 -08:00
Shane Smiskol 55a38aeb69 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#31502)
Export fingerprints
old-commit-hash: 49dd8b476cb922062af6500e86c52735d597ba1e
2024-02-18 11:01:01 -08:00
Adeeb Shihadeh ca44027287 bump panda
old-commit-hash: 79fa3954b743f992cbe7d39d5a265125dffd8d21
2024-02-17 14:29:46 -08:00
Shane Smiskol ae4b6f04b5 Honda Accord: remove unknown ECU
Could be the radio/heater controller

old-commit-hash: 07adbd347ffd48927b94ca57ed3d5d22adec9b41
2024-02-17 04:40:57 -08:00
Shane Smiskol 7b3b908ef7 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 bfc0d808abe548630e6507431f13b01e8a1316cb.

* Revert "test failure"

This reverts commit 10ab6eb63ccd411740751b742f31fd610397fe8e.

* Revert "hypothesis isn't installed"

This reverts commit d474cc3f0ed7e84fe8bd24f452b3315fd2b8d47c.

* Revert "for test"

This reverts commit 98e039f4fc0189ccb57c1dae6b344209ef15eb1c.

* this is important too

* clean up

* more clean up

* Update ref_commit
old-commit-hash: 2e8c62358ce8ab103d0c9ee29501f78d79d7f4cc
2024-02-17 04:03:12 -08:00
Adeeb Shihadeh 9b33328af3 bump panda (#31498)
old-commit-hash: 62f4eecf1646fff65fd6d22f64aeb0603ead3782
2024-02-16 23:18:51 -08:00
Shane Smiskol aeb904d5da test_fw_query_on_routes: get first qlog (#31496)
* fast

* this isn't internal

* see
old-commit-hash: c5f1f4c67663161d335048238e6dd5506bde3555
2024-02-16 17:55:15 -08:00
Harald Schäfer 8656ef12c5 Calibration Transform: border pad (#31495)
old-commit-hash: 900300a928bf2029c74a2949e0778c037b355ca5
2024-02-16 15:18:26 -08:00
Mitchell Goff 28bd4b70e2 Bumped model replay ref for new map tiles (#31493)
old-commit-hash: 86410a0ef0607ff78ba21ab2f4dc6b5135496e06
2024-02-16 22:32:43 +00:00
Adeeb Shihadeh b8b4210a68 controlsd: increase initializing timeout
old-commit-hash: b218abcaa3015e6c9202550eddbbc0eff7482729
2024-02-16 13:35:45 -08:00
Adeeb Shihadeh df6154b591 log git commit date (#31490)
* log git commit date

* unix ts

* fix

* bump cereal

* cleanup
old-commit-hash: 0723c2bc5f22a079685c1643fa2d72f70eeff087
2024-02-16 13:19:10 -08:00
Adeeb Shihadeh 9ca2d61313 modeld: fix and cleanup getting carParams (#31488)
old-commit-hash: 5a441ec0c4bf39a5e066e307ee6c9a8b55f8d8b5
2024-02-15 22:20:00 -08:00
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
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