Commit Graph

10759 Commits

Author SHA1 Message Date
Adeeb Shihadeh 97b823efe6 Make ui independent of launch path (#31517)
* Make ui independent of launch path

* comment
old-commit-hash: 5d4dc1dc2f
2024-02-19 22:34:24 -08:00
Adeeb Shihadeh 5b8eb7f9c7 modeld: add extra log for startup time debugging
old-commit-hash: 675eeb9d16
2024-02-19 22:33:30 -08:00
Adeeb Shihadeh 624a515885 debug: print log messages in relative time
old-commit-hash: 528e555892
2024-02-19 22:33:08 -08:00
goodchoom a1ff0696ce Alerts: fix inconsistent capitalization (#31514)
fix capitalization
old-commit-hash: 8b5c9e84d2
2024-02-19 18:18:20 -08:00
Harald Schäfer a4d53d378d Certified Herbalist Model (#31425)
* ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700

* 93532291-a562-4ab8-82d2-34d6e9fdcfbb/700

* Update ref
old-commit-hash: 26481d082f
2024-02-19 17:26:10 -08:00
Harald Schäfer 48bd8c2aaa Modeld: cleanup unused variables (#31516)
Modeld: cleanup used variables
old-commit-hash: d371fb042c
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: 1145122b3f
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: 69fb3c2ed5
2024-02-19 12:11:56 -08:00
Adeeb Shihadeh 1afe1fed8a more modeld logging (#31510)
old-commit-hash: 86184b76d5
2024-02-19 10:46:04 -08:00
Adeeb Shihadeh 79209662d6 thneed: printf -> cloudlog (#31506)
* thneed: printf -> cloudlog

* LOGI

* Revert "LOGI"

This reverts commit e6ab7e45fb7f3678727595f67c1f6c8e2cda734b.
old-commit-hash: 4ded4c53af
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: c6eae405a5
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: b28daef34a
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: 49dd8b476c
2024-02-18 11:01:01 -08:00
Shane Smiskol ae4b6f04b5 Honda Accord: remove unknown ECU
Could be the radio/heater controller

old-commit-hash: 07adbd347f
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: 2e8c62358c
2024-02-17 04:03:12 -08:00
Shane Smiskol aeb904d5da test_fw_query_on_routes: get first qlog (#31496)
* fast

* this isn't internal

* see
old-commit-hash: c5f1f4c676
2024-02-16 17:55:15 -08:00
Harald Schäfer 8656ef12c5 Calibration Transform: border pad (#31495)
old-commit-hash: 900300a928
2024-02-16 15:18:26 -08:00
Mitchell Goff 28bd4b70e2 Bumped model replay ref for new map tiles (#31493)
old-commit-hash: 86410a0ef0
2024-02-16 22:32:43 +00:00
Adeeb Shihadeh b8b4210a68 controlsd: increase initializing timeout
old-commit-hash: b218abcaa3
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: 0723c2bc5f
2024-02-16 13:19:10 -08:00
Adeeb Shihadeh 9ca2d61313 modeld: fix and cleanup getting carParams (#31488)
old-commit-hash: 5a441ec0c4
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: 0a5e994947
2024-02-15 21:44:02 -08:00
Adeeb Shihadeh 467f440f29 fix linter
old-commit-hash: 663f7017f2
2024-02-15 13:35:49 -08:00
Adeeb Shihadeh 8caf2530b3 debug/count_events.py improvements
old-commit-hash: 64851baea8
2024-02-15 13:13:11 -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
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 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
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 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 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 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
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
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
Justin Newberry fbf5ada69f LogReader: live_logreader helpers (#31416)
live helper
old-commit-hash: 0a92c5bf96
2024-02-12 12:58:25 -08:00