Commit Graph

8145 Commits

Author SHA1 Message Date
Adeeb Shihadeh 38168c182c don't upload crash logs from forks (#30203)
* don't upload crash logs from forks

* fix
old-commit-hash: 1abea5a2596f36eec56d52c9d3a900b7396cf262
2023-10-06 15:30:43 -07:00
Shane Smiskol ef8028f134 Car tests: fix serialize error on fail (#30185)
* Update test_toyota.py

* fix others

* fix
old-commit-hash: 9350b7e179d49b0c9ea29b7597660008430eed5a
2023-10-06 00:07:37 -07:00
Justin Newberry 4d732ad439 Subaru: Outback 2023 fingerprint (#30190)
fingerprint
old-commit-hash: 7f945f10c65b445f630b970ddf4b245d917d5448
2023-10-05 17:15:26 -07:00
Adeeb Shihadeh dd9b72292e UI: remove drive stats (#30183)
* UI: remove drive stats

* little more

* vanish
old-commit-hash: f80db10720099d34fd19e3aa0be36d05647ea897
2023-10-05 14:53:49 -07:00
Kacper Rączy 2878a3a876 CI: add regen job (#30157)
* Ability to whitelist/blacklist cars in regen_all

* Add CI job for regen, running on 2 segments

* Run regen_all, not regen

* Use coverage run

* Add test_regen

* Use test_regen in ci test

* Add test case names

* ONNXCPU = 1

* Add mazda segment

* Use RUN_CL

* build cl image before running

* unset PYTHONWARNINGS

* Create regen cache

* Replace daemons with processes

* Skip ford

* Skip mazda

* Add comment about commented segments

* Update selfdrive/test/process_replay/test_regen.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Remove unset pythonwarnings

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3aa74c28fcd426f73da2201b2fdd7ac2be21ba71
2023-10-05 13:59:00 -07:00
Shane Smiskol 4fab2c99e1 Toyota: add missing engine FW for TSS-P Camry Hybrid (#30177)
* missing FW for 2ed432126627c66a

* dups

* dups
old-commit-hash: ed0f50635907ea31b5cb1acc265c32c57e82272e
2023-10-05 01:24:05 -07:00
Shane Smiskol 338987a5d2 scripts: format diff when comparing logs (#30174)
* move format diff to compare_logs to pretty print

* smaller
old-commit-hash: a1ca5dc484132122b8b9ba7e2ff73da7c86bf1a2
2023-10-04 22:59:03 -07:00
Kacper Rączy 4987ed88a4 regen: skip fetching camera files when not needed (#30169)
* Fetch only camera files which are needed in current setup

* Refactor daemons to processes
old-commit-hash: 18f41d191047c0ed9549ada7c0d5fa21a49a707b
2023-10-04 15:00:50 -07:00
Kacper Rączy c33f68047b process_replay: migrate panda/peripheral/manager states (#30141)
* Migrate pandaStates

* Fix import

* Make pandaStates migration optional, so process_replay still works on logs without carParams

* peripheralState migration if its not available

* Do nothing if log file has peripheralStates

* Add migrate_managerState

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 898acb13f27d69291e8b7ecfa8a6ea577b330520
2023-10-04 13:41:50 -07:00
Kacper Rączy f1ac2e7216 process_replay: migrate cameraState timestampSof if its missing (#30153)
Migrate timestampSof if its missing
old-commit-hash: cf3549fe8a7190130b6e9064d4be0f8c47d41f0a
2023-10-03 19:46:24 -07:00
Justin Newberry f36e7bf45c Tests: fix pandad setup (#30160)
fix panda test
old-commit-hash: 7f69f8458ac32a6b790d082d8a4d7e0f102c6a47
2023-10-03 18:54:40 -07:00
Kacper Rączy 5d0e7e9373 modeld: don't attempt to connect extra vipc client if its not available (#30154)
Do not connect extra client if it's not available
old-commit-hash: 5cb9291de89d547354dde32453a1b19ae68812cd
2023-10-03 15:54:21 -07:00
Adeeb Shihadeh 696f884cce pandad: ensure panda is in a good state before each test case (#30151)
* pandad: ensure panda is in a good state before each test case

* less overhead

* fix pc

* update that

* Update selfdrive/boardd/tests/test_pandad.py

* update
old-commit-hash: 4f769d0a383b32e46ff5c17f9d03f26862dfe933
2023-10-03 15:42:04 -07:00
Adeeb Shihadeh a9153a39cc Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
2023-10-03 15:31:26 -07:00
nickn066 f47717649f Fingerprint: 2023 Volkswagen Taos (#30126)
* Update values.py

Add 2023 Taos

* Update values.py

Removed additional space

* Update values.py

Removed trailing white space

* Update values.py

removed duplicate ecu.srs for CAR.TAOS_MK1

* Update values.py
old-commit-hash: c3479f8984ce2315f1b398d81bb496d1a661208a
2023-10-03 14:28:16 -07:00
Harald Schäfer dd8a904c5b Night Strike Model (#30148)
* baab2a46-f0c3-46eb-8756-00c55354945b/700

* Update model replay ref
old-commit-hash: 3c0a7d69862c52a7060b928162bd67cf55cc9c73
2023-10-03 14:25:30 -07:00
Justin Newberry 5eabb35a53 Subaru: crosstrek hybrid is a B harness (#30150)
its a b harness
old-commit-hash: 8cc8952d819740436ef9a53d618437c420819d5b
2023-10-03 13:29:07 -07:00
Shane Smiskol 7f47888dd9 Toyota: whitelist hybrid ECU (#30110)
0x7e2: OBD query, 0x7d2: UDS query
old-commit-hash: c0030482695ae2578e444233c0504a29a2757e08
2023-10-03 03:30:32 -07:00
Shane Smiskol f56bfdc7c9 regen: fix wide road camera msg name (#30147)
fixed
old-commit-hash: 661edd7d8b403fe21a124c5a08d2f0b0cc76e68c
2023-10-02 21:21:49 -07:00
Shane Smiskol d67a8b6551 Kia: update harness & package for 2018 Kia Sorento
only aus 2018 sorento has LKAS (US has LDWS -- not supported) - https://resource.digitaldealer.com.au/pdf/200674377859eeaf8eb22c1234370909.pdf

old-commit-hash: 0a5e50b5a708331adeef30dab34c992b87a4e5ab
2023-10-02 20:28:32 -07:00
Kacper Rączy 71ad6ce228 process_replay: fix support for single cam segments (#30143)
* Fix assertion for vision_pubs

* Get camera states from meta

* Convert deviceType to string

* Use neo instead of eon for frame sizes dict

* update vision_pubs of process config when creating vipc
old-commit-hash: 9c5bbe1a91cc56df71d6f71a37b801aee24d073b
2023-10-02 19:36:47 -07:00
Adeeb Shihadeh 61eb6f4f66 finish hardware move to system/ (#30140)
* finish hardware move to system/

* fix release

* couple more
old-commit-hash: c347096c3ee275ccedc3c39e1888c44d40f77a56
2023-10-02 16:49:07 -07:00
Adeeb Shihadeh 733c2b329c remove rtshield
old-commit-hash: f58969cb6076d2b4a37840682a14bf05894ba17b
2023-10-02 15:40:35 -07:00
Adeeb Shihadeh 1b11da92ed remove panda flash logs (#30138)
* bump panda

* unused

* update test
old-commit-hash: 67161a7174416d8ebc4d186e8e4a1780f43d47db
2023-10-02 15:34:33 -07:00
Notstupe 161162c850 hyundai: fix ioniq5/6 sorting (#30122)
put ioniq5/6 back in there place
old-commit-hash: 364353d897afb97da99e894c7995b3b3448aa352
2023-10-02 13:47:53 -07:00
Justin Newberry 42ad28875a Tools: a basic auto fingerprinting tool (#30117)
* v1 auto fingerprint tool

* executable

* static analysis

* move to selfdrive/debug

* from any directory

* fix static analysis
old-commit-hash: 05f7c96327a93312379b0ec10880297addfbc073
2023-09-30 20:50:29 -07:00
Justin Newberry eb33a751f6 Revert "run unit tests in a random order (#29799)" (#30116)
This reverts commit 36bcfb117d12049be554ec0f82684827fc99f68a.
old-commit-hash: 2dd13c60ccdd513821cad4570fe140c9749d06f3
2023-09-30 17:23:38 -07:00
Justin Newberry 58936aa0cb Use StrEnum for car classes (#30114)
* str enum

* import sort

* fix car helpers

* fix that

* fix static analysis
old-commit-hash: 6ae465e4af76e21c6a31c541f37555f6bd0727fc
2023-09-30 17:15:34 -07:00
Adeeb Shihadeh f7d5a2b216 run unit tests in a random order (#29799)
* run unit tests in a random order by default

* bump panda

* fix startup

* re-add random order plugin

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b483efe764c001454b0fe917ce0b1023bc08ab88
2023-09-30 15:56:23 -07:00
royjr ea3352af59 ui: better Arabic translations (#30004)
* initial

* fix additional tag

* fix missing semicolon

* fix missing semicolon

* fix missing whitespace/punctuation

* dont translate

* fix deleted source

* mark missing as unfinished

* needs to be fixed

* typo

* dont translate

* translate wifi

* dont translate sidebar

* missing space

* dont translate

* these are good

* missing

* fix unfinished

* more fixes

* fix typo

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* dont translate

* fix vanished translation

* add test_entities_error test

* fix entity

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* dont translate comma prime

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e156ab41ad68aacf470cde0c3f7b97cccd2051b0
2023-09-30 15:37:07 -07:00
Jiyong Youn eb986384c8 HKG: Enable radar tracks for 2021 K5 Hybrid (#30113)
old-commit-hash: 2fee341a90faa652a82d82c3b3b35313d7684db3
2023-09-30 15:19:12 -07:00
Adeeb Shihadeh 13b57bb6a9 Revert "ui: brighten cameraview (#29744)"
This reverts commit 4772e46121f9adaf35b85f3dcaa416d9aaa7ee1b.

old-commit-hash: 023792c431828baa67e63012db55db77f9e8e02b
2023-09-30 15:14:48 -07:00
Erich Moraga 3ec9047145 Toyota: add several ECU versions for 2023 Toyota RAV4 Hybrid (#30111)
`joshtheplumber` 2023 Toyota RAV4 Hybrid  DongleID/route a493a1ab8ea51c2a|2023-09-29--23-51-04
old-commit-hash: ca5a317a5057d966e41abebab3de5bfc2cc71ff2
2023-09-29 20:35:26 -07:00
Shane Smiskol 5bbab4b141 Toyota: add missing FW for ICE RAV4 2023
old-commit-hash: a067f86320601e680f5ccd2a5d413a6763b62178
2023-09-29 20:16:57 -07:00
Mike McKay 586f6acdac Update vw_mqb_config.py (#30101)
Added a message to tell the user to kill the comma process when running the script.
old-commit-hash: a5f2fd5b1a44ce4e18f5ae8a0271eeb47fb52fae
2023-09-29 11:00:44 -07:00
Shane Smiskol a23976451b Toyota docs: expand Camry Hybrid years to 2024 (#30098)
we've seen a 2024 camryh

1de6c58d0ee17682|2023-09-28--06-37-11--0
old-commit-hash: 5bf117ce2913837f83ac4125c56f190ad8d09b9e
2023-09-29 01:01:49 -07:00
Shurui Gui 268561d402 Mazda: add FW versions for CX-5 2024 (#30093)
* Port CX-5 2024

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0d7272ea19b625084887f8d983f8fe74ca5e9e11
2023-09-29 00:59:23 -07:00
Shane Smiskol 0f2654177e Car docs: update parts docs for 3X (#30076)
* add panda kit

* better: 3X is default

* how about

* replace more three refs
old-commit-hash: b918e0682256fdc0c202fa55ea6182f58acede5c
2023-09-28 16:20:03 -07:00
Harald Schäfer 25e5c57dfe calibrationd: Pitch spread different tolerance (#30065)
* calibrationd: Pitch spread different tolerance

* Improve calibrationd tests
old-commit-hash: 2162d149e8c8c6a4ac3b1acaf9462ff2f61aefbc
2023-09-28 14:27:50 -07:00
Sean Aguinaga 2f0066a458 Ford: add 2023 Maverick Engine FW (#30085)
* Add 2023 Maverick Engine FW

* Pasted wrong line - corrected

* Update selfdrive/car/ford/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a30d5d2b7a47cdb050b1aa1f4ff19ef2b392bdf7
2023-09-28 13:59:05 -07:00
YassineYousfi a3f3e0c122 onnxmodel: fp16_to_fp32 (#30080)
* onnxmodel: force fp32

* rename

* rename this too
old-commit-hash: 04e239f7ed329ec2be7c1190d9a02f78d02b5e8e
2023-09-27 22:37:03 -07:00
Vivek Aithal 739a102d55 paramsd: Add condition to sensor valid check (#30066)
add condition to sensorvalid check
old-commit-hash: 0461ea8a8294cc4a36d43300ecf3a41460a50d82
2023-09-27 21:00:36 -07:00
Shane Smiskol dcc367c2d6 Hyundai: update Optima Hybrid 2017 harness (#30079)
it's c
old-commit-hash: dbd8e24a17f99ebc20bf674fbafabdfb0d1f5329
2023-09-27 16:15:29 -07:00
Lee Jong Mun ce9559cc54 kor translation update (#30073)
old-commit-hash: c7e1eb12c6bde74c30f21d9964dfce7ba1522bc0
2023-09-27 10:58:01 -07:00
Shane Smiskol 91ae82c9cc torqued: useParams field reflects if using torque control (#30059)
fix useParams
old-commit-hash: 61c5618f15a477d6aaa8dfaaf9803961db5081e6
2023-09-26 17:23:10 -07:00
Adeeb Shihadeh 9c8de3e08b simplify sensor alert (#29824)
* simplify

* update proc replay
old-commit-hash: a4aa801fbe924ace2ebd493eeac7eb0c596f81b5
2023-09-26 16:47:21 -07:00
Shane Smiskol 373ec5a067 HKG tests: assert standard FW requests in database (#30061)
* test to help catch random FW in PRs

* just fwdCamera

* better?
old-commit-hash: 7073882f87b1ecc4934fd42ff2ade4c8e9fed6e9
2023-09-26 16:41:24 -07:00
Adeeb Shihadeh 0358e2c547 add extra debug info to onroad test (#30067)
old-commit-hash: fa06a691017f6f1b333bb2e6bcb99bf4361bcc33
2023-09-26 16:11:26 -07:00
Vivek Aithal 9d4767bd87 locationd: Replace allAliveAndValid with allValid (#30064)
* replace allaliveandvalid check with allvalid, all necessary time checks are already used

* update refs
old-commit-hash: 6d5f4f149d819eed6a56112e9fba277b62613ff1
2023-09-26 15:31:40 -07:00
Justin Newberry ef75f0ab12 CI: use "slow" marker for pytest (#30063)
* skip to mark

* fix quotes
old-commit-hash: 0251742079b206ce40a3b4d8ae9cec1381494d4a
2023-09-26 13:44:18 -07:00