Commit Graph

11394 Commits

Author SHA1 Message Date
Justin Newberry
d4fffb80dc Codecov: ignore tests files (#30202)
codecov ignore test
old-commit-hash: 7fd52cd0d14ed5311d4a83f9bbc974a5aea907a8
2023-10-06 20:13:52 -07:00
Dean Lee
5de3198888 cabana: check if index is valid (#30204)
old-commit-hash: d02558c4008af9e4efc4fc36561bb5120cd47304
2023-10-06 20:13:08 -07:00
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
Justin Newberry
845cb6b670 CI: run jenkins as batman (#30184)
* I'm batman

* chown batman

* sudo

* add batman to sudo group

* try without cleanup

* Revert "try without cleanup"

This reverts commit f59554f2f373417f2c59fd250463eca2fda4d49e.

* comment
old-commit-hash: 8b2b72499fb49fa2c01c806b54e2bfe6a2c28844
2023-10-06 11:12:41 -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
Greg Hogan
a62749f527 vidindex improvements (#30196)
* vidindex improvements

* fix spelling
old-commit-hash: 6f98a987afd4f32db3d04c5d4ba3bf49be4b8e07
2023-10-05 22:48:50 -07:00
Justin Newberry
fa245bfab0 Simulator: set params enabled (#30195)
set params enabled
old-commit-hash: 2884fd6e3d86815a6616daf0fa7fb44aefaf1972
2023-10-05 22:19:38 -07:00
Greg Hogan
e0469bdde6 filereader cleanup (#30191)
* filereader cleanup

* make name return url

* remove unused imports
old-commit-hash: 86b90a8ba263df067406e0089eb507c3a397640e
2023-10-05 19:45:46 -07:00
Greg Hogan
29bb2cf867 convert vidindex to python (#30176)
* convert vidindex to python

* fix whitespace

* corrupt file option

* fix up typings

* fix return type

* update framereader

* change length delimiter to uint32 value

* change length to uint32 value

* move url_file changes to separate PR

* cleanup caching

* revert whitespace change

* fix frame type param type
old-commit-hash: f8e488f881cec5c654282b44910b07a541832fa8
2023-10-05 18:40:24 -07:00
Justin Newberry
4d732ad439 Subaru: Outback 2023 fingerprint (#30190)
fingerprint
old-commit-hash: 7f945f10c65b445f630b970ddf4b245d917d5448
2023-10-05 17:15:26 -07:00
Justin Newberry
a0ccf2b577 Docker: add batman to sudo group (#30188)
add batman to sudo group
old-commit-hash: d731c85b2edd5f568390f293a0f60f03f1f1c6b3
2023-10-05 15:53:07 -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
Dean Lee
0396152d98 cabana: fix parsing multiple line comment (#30178)
fix parse error
old-commit-hash: 29f10fd2aa0730681986631838f866462eb9af55
2023-10-05 01:48:56 -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
Justin Newberry
b8df8f21e7 Metadrive: fix slow acceleration and enable past 50 mph (#30171)
metadrive tuning
old-commit-hash: f4b2b70791144a82d9c9a215996a5f51038a552d
2023-10-04 17:25:44 -07:00
Justin Newberry
dddf3f5215 Metadrive: no preloading models (#30170)
no preloading
old-commit-hash: 56b16e77a45e3443cb97b0d9ab6fec3e949810b3
2023-10-04 15:49:05 -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
Justin Newberry
63e4823467 Devcontainer: initial windows support (#30168)
* windows support

* windows support
old-commit-hash: d00832cb2b3db3341de5467606cb680fd592f424
2023-10-04 14:58:21 -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
Justin Newberry
a9153302a3 URLFile: don't cache non-existent file's lengths (#30071)
* urlfile empty

* simplify with mock

* better test name

* PR cleanup

* cleanup the length file
old-commit-hash: fa51bbc2364c1024097dc085afb5982c42f9c524
2023-10-04 12:57:56 -07:00
Justin Newberry
26d822b661 cleanup environment variables between tests (#30167)
old-commit-hash: 786f13b0e308b117dbae0bd40afa43635321991d
2023-10-04 11:51:44 -07:00
Justin Newberry
5b16fda00c add random order plugin (#30166)
add random order
old-commit-hash: 2048808827bff61977465939297b9d5941e91cb7
2023-10-04 11:51:24 -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
a0f1a5207a CI: label for research and fix CI/testing label (#30152)
* research label

* add jenkinsfile
old-commit-hash: c6ad15e52f346f2c3788c607ed3eb589e652f0a9
2023-10-03 13:48:17 -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
a24af381f7 remove some python packages (#30135)
* less dependencies

* rm that

* add that back for now

* revert for now
old-commit-hash: 0694d3b8f6727a5a83cb52e978c7e3743eb928ab
2023-10-02 17:13:45 -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
Justin Newberry
4ec10b3347 Metadrive: fix reset (#30142)
* fix reset

* 2 seconds
old-commit-hash: 4d7caff0c8cd3d9e864525430077d50503eea4ea
2023-10-02 16:43:35 -07:00
Justin Newberry
07c27071a4 remove carla dependency (#30139)
* only docs and default

* remove carla dependency

* remove carla dependency
old-commit-hash: 3c55f76790a5663a62892581c9554391aebae1de
2023-10-02 16:11:56 -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
Justin Newberry
aac705cedb Simulator: metadrive is the default (#30133)
only docs and default
old-commit-hash: 78469b7ef64bff91a67c08e1105f2e0a9770e227
2023-10-02 14:44:40 -07:00
Adeeb Shihadeh
8548294fec back to 0.9.5
old-commit-hash: 8461cdb77ec76cd3583345f17b310b2cd742f9f8
2023-10-02 14:37:04 -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
fb4e774a2e Update metadrive (#30128)
update metadrive
old-commit-hash: f32294772d15d5797f087c006601d2aa783e6088
2023-10-02 13:18:03 -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
Kacper Rączy
1f6ab69805 compressed_vipc: fix issues with VisionIpcServer in ZMQ mode (#30115)
old-commit-hash: 0e5cfa3426a3cc2e270c239169a126cdd233865d
2023-09-30 18:45:45 -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