Commit Graph

9176 Commits

Author SHA1 Message Date
Shane Smiskol b3fc3f25ce process replay: regen routes (#32464)
* regen

* regen

* update

* undo

* update refs

* fix

* real fix

* test

* test2

* test3

* stash

* Revert "stash"

This reverts commit bf6765f526b48426f49a4b29c4042097f57fc4b0.

* rk.lagging can not be trusted. BODY segment has radarFault while modelV2 is not valid, causing radarState to not be valid

* order

* update refs again

* we never logged carOutput!

* bump

* add back checks
old-commit-hash: 220fcc16753ce87c8997275733f62bc385342a7e
2024-05-19 01:07:12 -07:00
Adeeb Shihadeh d0f0ee8435 define alert for actuatorsApiUnavailable
old-commit-hash: 075176f869088f9e2021aadc9e236edd8cac7d3e
2024-05-18 17:55:52 -07:00
Adeeb Shihadeh 72b6504595 Revert "ui: single-threaded CameraView (#32291)"
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.

old-commit-hash: c9531b463a6cb4a2a56792046fd69f9041006d81
2024-05-18 16:34:03 -07:00
Shane Smiskol d7519e5dcc [bot] Fingerprints: add missing FW versions from new users (#32468)
Export fingerprints
old-commit-hash: 1a4e022d70610acbd74602f80d76876d94a4fdaa
2024-05-18 14:03:50 -07:00
ZwX1616 1f9bc952bf dmonitoringd: don't check for buttonEvents or vCruise change (#32454)
* drop check for carState.buttonEvents

* 100% people not use this

* huge oof

* ref comit

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8e87655a128f6b2ebcc6fdcf639167d647c99fe0
2024-05-17 21:38:03 -07:00
cl0cks4fe 6d3a8c09e0 remove unittest dependency from test_ui (#32432)
old-commit-hash: 173d96644436c9c4e36b3adbc38acf03811dc4a5
2024-05-17 20:54:08 -07:00
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -07:00
Adeeb Shihadeh eaa6fe2510 remove old valgrind replay test
old-commit-hash: e1a697fee521eedad2210d8e01d668e2bb020ace
2024-05-17 19:43:47 -07:00
Curtis Jiang fd02f44551 HKG: Add FW version for Canada Hyundai Tucson PHEV 2024 (#32440)
* Car port for Hyundai Tucson PHEV 2024

* Fix doc
old-commit-hash: 5cfaae771d02846c273797795a737ac22e312ec1
2024-05-17 13:17:24 -07:00
cl0cks4fe 639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
eFini 1fc584aaa8 Mutilang: update CHS/CHT translation (#32455)
update translations for chinese
old-commit-hash: 1a60b63b7d9be96b890c7e59a77fd10504ab15ab
2024-05-17 09:17:22 -07:00
Shane Smiskol 693c53cafc events: reduce priority of resumeRequired (#32450)
CC
old-commit-hash: 42861f6683cf80b7ec0a1f05fc821e4cc5327962
2024-05-16 21:17:37 -07:00
Shane Smiskol 681f5c6a34 process replay: check missing services (#32452)
* add check to check

* don't forget to raise

* skip this segment
old-commit-hash: ac81467c5c2c7ca0f340ee8d2aff81e330eb803a
2024-05-16 21:11:55 -07:00
Shane Smiskol 77b1da0a45 Toyota: remove redundant cancel code (#32448)
saw no cases where this was non-zero while cruise_active was false
old-commit-hash: b17ec494b20245c821081a7be0651f655c005576
2024-05-16 16:13:12 -07:00
Shane Smiskol 860283c4cb test_car_interface: run CC once (#32449)
run once
old-commit-hash: 593ea504e7a9a23b81b9a03fe8a2dffddfe7c8ac
2024-05-16 15:41:20 -07:00
ZwX1616 2cb58bbe35 DM: improve e2e predictions (#32431)
* good but need to freeze quant weights

* pass ref

* pg

* update model reply
old-commit-hash: b8171a1e9cb1696377e33657052ee75655f771f9
2024-05-16 13:55:40 -07:00
Shotaro Watanabe 3913887f7d fix(ui): fix build error in onroad_home.cc without ENABLE_MAPS (#32441)
old-commit-hash: 288a3fcd8b2f5b8e62af7b29a58bfddebb82f69a
2024-05-16 11:10:22 -07:00
Shane Smiskol 785d92c474 Revert "card: move all car events (#32427)" (#32439)
* Revert "card: move all car events (#32427)"

This reverts commit e1918a6270257e96d68df3ac03e884603253c8e2.

* keep the event here

* oops

* Revert "oops"

This reverts commit ea99a2768fbeb7a6123dd755585157b530e7a2a1.

* Revert "keep the event here"

This reverts commit ec089b4e1afdf09b2e6b184de8f23584ef931601.
old-commit-hash: 407791113d10d2f9fea9b68c8313271fefa1e36e
2024-05-15 14:32:52 -07:00
Kirito3481 cdd1f2b109 Fix incorrect korean translation (#32436)
old-commit-hash: 6605743b48fedf934ecf998ea10855978e979ab4
2024-05-15 10:29:38 -07:00
Shane Smiskol 1a5533a8c3 [bot] Fingerprints: add missing FW versions from new users (#32438)
Export fingerprints
old-commit-hash: 1bf2d2e1f978103242a8629ba6fa3f6b5eb1d137
2024-05-15 10:28:28 -07:00
Shane Smiskol cd782c06d1 card: move all car events (#32427)
* move last event over

* fix
old-commit-hash: 8f46028bd4b71c619bac654d6f2a4f8006b7508d
2024-05-14 15:20:03 -07:00
Shane Smiskol f9dc18f418 Events: remove dependency (#32430)
* Revert "Events: use sorted container (#32395)"

This reverts commit 3c9c039ca3202649d7212ee259b1b82a65a92c4f.

* remove implicit dependency
old-commit-hash: e9bf36232bf587cacc1282837afbe82600c0977f
2024-05-14 15:19:02 -07:00
Shane Smiskol c3630f813a controlsd: use already initialized params (#32429)
old-commit-hash: 6f3cd143efdec89524e603a181f2a7cbf02e8588
2024-05-14 14:01:38 -07:00
Shane Smiskol 426ab7d7d8 Fix test_time_to_onroad (#32423)
* this star doesn't make sense

* only docs for now

* flip

* fix spotty test_time_to_onroad.py

* better

fix

fix

fix

fix

* already there -_-

* we can fp again
old-commit-hash: 46eda641773a1e00b54d4b2d58c64bed3480a24a
2024-05-13 18:56:15 -07:00
Shane Smiskol 97dc134a42 card: create pedal pressed event (#32417)
* card: create pedal pressed event (#32393)

* move pedalPressed to card

* rm

* needs to be a builder

* move these

* clean up

* reader later

* Update ref_commit

* moved to card
old-commit-hash: d0d44a51a0ff66c1b2da56b3d9864e10ecc2174d
2024-05-13 16:18:55 -07:00
Shane Smiskol 6c2c024855 Car docs: gate auto resume star on enable down to stop (#32421)
* this star doesn't make sense

* only docs for now

* flip
old-commit-hash: 82e70db47c06ee3c447e6bceebadbde5b5e92b2f
2024-05-13 16:18:29 -07:00
Shane Smiskol f7eaec0a4b Hyundai Kona: add min speed (#32420)
* add min speed for kona

* update docs
old-commit-hash: 06c581e202322f7d3a9e21cb59ebe57418e5abe9
2024-05-13 16:02:47 -07:00
Shane Smiskol 4c7c4272d0 Revert "card: create pedal pressed event" (#32414)
Revert "card: create pedal pressed event (#32393)"

This reverts commit 05be56def1f1fdddb761291e1a40cce459fc7d36.
old-commit-hash: 9287a6962479b63f1628086a73459b4e7e933d59
2024-05-13 14:25:22 -07:00
Shane Smiskol 48bb3caaac card: create pedal pressed event (#32393)
* move pedalPressed to card

* rm

* needs to be a builder

* move these

* clean up

* reader later

* Update ref_commit
old-commit-hash: d18da895d3b70dc62ee3cd8ebeb75de6cf48e7a9
2024-05-13 14:15:26 -07:00
Adeeb Shihadeh f641d7e851 ui: fix brightness when there's no camera (#32413)
old-commit-hash: 79c8fb0236a1468cf1f7396a8a120ccd4fb10f40
2024-05-13 13:27:05 -07:00
Shane Smiskol 4a0b3c8b64 CarInterface: move stateless, common car events to car interface (#32394)
* move stateless, common car events to car interface

* try to reduce process replay diff a bit

* Revert "try to reduce process replay diff a bit"

This reverts commit b12798deabea67c5a636d6e70e80a3c21c7225ff.

* update refs
old-commit-hash: 3dfb6d7931711c51ecfe0d8c32f0ff928b17a5c9
2024-05-13 12:50:42 -07:00
Shane Smiskol 4b0149cb14 Events: use sorted container (#32395)
* use SortedList

* Update ref_commit
old-commit-hash: d98ab4ddb1beebdf7079d403a837aabbf7d86918
2024-05-13 12:16:53 -07:00
Shane Smiskol 2d7bd1942c [bot] Fingerprints: add missing FW versions from new users (#32412)
Export fingerprints
old-commit-hash: be3e99e2d3ab3e39030f88f5450b955885a01772
2024-05-13 08:39:49 -07:00
Jason Young 013088133f VW MQB: Support for preempted HCA state (#32298)
* bump opendbc

* VW MQB: Support for preempted HCA state
old-commit-hash: f770f55a4e742da9a3ea474f9ccb330ba4fde64a
2024-05-12 22:06:03 -07:00
Dean Lee ddd09f528b boardd: Improve performance of can_list_to_can_capnp() (#32356)
old-commit-hash: e548742701bac60f872ee4a1043b014e1ae00731
2024-05-12 22:01:08 -07:00
Adeeb Shihadeh 5e2cc23cec boardd: SPI corruption test (#32404)
* simple test

* little more

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dcfb206a38eb5719b872f1b7a60c25681f6d734f
2024-05-11 14:24:28 -07:00
Adeeb Shihadeh 0d9aad726e boardd: fix SPI return code on some transfer failures (#32401)
old-commit-hash: 4af50cee6385022e93dca261af7485c36bb5744b
2024-05-11 13:15:50 -07:00
Shane Smiskol 1c7a1555b9 [bot] Fingerprints: add missing FW versions from new users (#32397)
Export fingerprints
old-commit-hash: 3fd549f30a3528a1dfb2dbe2d8590b4bc5af43b6
2024-05-11 10:54:24 -07:00
Shane Smiskol c4e445e6c5 card: more final structure
old-commit-hash: d28624fe5b4145b48add862f1f29a3bcf7568b8c
2024-05-10 23:18:48 -07:00
Shane Smiskol 753dbe8f6e controlsd: use latest actuatorsOutput (#32390)
use current actuatorsOutput
old-commit-hash: ef1693433f0e89818bbc8dabf83f16841e28ec6e
2024-05-10 21:00:01 -07:00
Shane Smiskol d9c32672d1 [bot] Fingerprints: add missing FW versions from new users (#32384)
Export fingerprints
old-commit-hash: 4486947e811bd09903795b5b76e7e2846062a64c
2024-05-09 10:51:15 -07:00
Shane Smiskol 8708fb2a32 card: preparation (#32382)
* card prep

* also format
old-commit-hash: 2e6b2ef3c973549c5375684ba36f1b12372167a4
2024-05-08 23:54:20 -07:00
ZwX1616 1e7865e4c9 Always-on DM: no audible alert at low speeds / block engagement if alert present (#32379)
* min speed

* cmments

* no entry?

* comment
old-commit-hash: 273a4f5ca9313673caadccf9e6910ab080f7f047
2024-05-08 20:05:03 -07:00
Shane Smiskol af0310ff0c Volkswagen: improve fuzzy fingerprinting (#32378)
* improve VW fuzzy FP matching

* annotate

* Revert "annotate"

This reverts commit 09cbb150e91f5093849c22d95e31152fb8d4d1a9.

* hmm
old-commit-hash: a83b182c552476dfda71784570916777135b3d4e
2024-05-08 17:17:08 -07:00
Jason Young 00fbd8660c VW MQB: Add FW for 2022 CUPRA Ateca (#32318)
* VW MQB: Add FW for 2022 SEAT Ateca

* extend Ateca supported model-years

* CUPRA Ateca available from 2018

* regen CARS.md

* wrong model year format
old-commit-hash: fe4c7f1499e3ce70eb1ec614ae8ea370415ed802
2024-05-08 15:34:16 -07:00
YI418LT e2395bf382 Honda: add missing FW for Civic Hatchback 2020 (Type R Japanese model) (#32305)
* Update fingerprints.py

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 451a38ddee4d54d2d9b06fe6d8cef8ef09c6b1cf
2024-05-08 15:19:06 -07:00
Jason Young 2b755e330d VW: raise minimum steering speed to fix a fault (#31450)
* VW: Steer to zero, for large values of zero

* ah, the joy of floating point

* comment, style

* actually fix floating point issue

* follow PlatformConfig refactor

* this check is not useful after PlatformConfig

* don't really need that

* work around docs assert

* little better

* one comment

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93fa207c5cafa908a15dd460025c005ee7cf1746
2024-05-08 14:38:08 -07:00
young 02fb8ebef5 Kia: add missing K8 Hybrid 2024 FW (#32259)
add kia k8 hev 2024 fingerprints
old-commit-hash: adf52c7355222b994e932226b43c9ed434f7e6ea
2024-05-08 13:35:32 -07:00
andreasdamm 5318929581 Added ECU FW version for 2021 Lincoln Aviator Black Label Grand Touring (#32361)
old-commit-hash: 7ab39fb92c38987517350b8a5826982c6d8520b1
2024-05-07 21:49:52 -07:00
Adeeb Shihadeh f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95dabb0229dba01cd585d852e7ca5d47ff
2024-05-07 21:36:04 -07:00