Commit Graph

1395 Commits

Author SHA1 Message Date
Justin Newberry
c50146837e Docker: merge opencl and base images (#31338)
* mergeem

* don't change workdir
old-commit-hash: ceecf39c54e95e1bf973ea221fb3c5e7f215aecb
2024-02-06 17:11:00 -08:00
dzid26
05cfa6de9d camerastream instructions (#31326)
* camerastream instructions

* Update README.md

* Update tools/README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0af62eb3b0027ae1081074cb486554a366dff6fc
2024-02-06 13:19:01 -08:00
Kacper Rączy
be6fdf72ee webrtcd: lazy import of aiortc (#31304)
* Lazy imports in webrtcd

* Lazy imports in web.py

* Type hints

* Remove FrameReaderVideoStreamTrack

* leave the aiohttp.web import

* Leave the client session

* main leftover
old-commit-hash: 35d848ad5290ed9c0747b0ac20a5affab6a561d2
2024-02-05 19:04:59 -08:00
Justin Newberry
3f934381fe test_logreader: test run_across_segments (#31305)
* more logreader tests

* not in ci for now

* enable cache
old-commit-hash: b17f24d68ea560722a1596840ec0c79cf928f0ab
2024-02-05 18:35:12 -08:00
Greg Hogan
54dc43fe14 make URLFile safe after fork() (#31309)
* make URLFile safe after fork()

* cache the pool manager in each instance

* type hints
old-commit-hash: a8aa04e6bda2fc8ca31db055f584bfc52d104d2c
2024-02-05 18:07:48 -08:00
Adeeb Shihadeh
2384e06228 compressed_vipc supports all frame sizes
old-commit-hash: 43f151eea9bf48559f05211fdb7682325d2905f9
2024-02-04 15:29:43 -08:00
Adeeb Shihadeh
d14dd2dfe8 tools: fix up can_replay
old-commit-hash: 3972073fd4f33a6af3f88c6bb010171a38c03ba4
2024-02-04 14:48:06 -08:00
Hoang Bui
2852e61e40 Fix self.started value pass in metadrive test (#31153)
* fix value pass

* fix test

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 71236204bb78d64feb3d46680176dfb37741dc5d
2024-02-02 12:06:05 -08:00
Justin Newberry
9b4b5d3cf5 LogReader: skip file_exists check for comma_api (#31251)
* valid file

* missed this one
old-commit-hash: 6010a39bf8cb030b5b10e1d0657f9291467b6872
2024-01-31 16:43:58 -08:00
Justin Newberry
16e0907129 LogReader: add ``.filter`` (#31222)
add filter
old-commit-hash: c782fbc34e05922765959ee3c3b6bba38c0150fb
2024-01-29 17:33:47 -08:00
Justin Newberry
223b1ed065 LogReader: add tqdm back to run_across_segments (#31216)
tqdm
old-commit-hash: 7835f9cce05b2f8743bbd632dd6a3093741e6bd2
2024-01-29 13:18:49 -08:00
Justin Newberry
c61f40c34f Simulator: prepare to make bridge a PythonProcess (#31201)
* sim services

* clean
old-commit-hash: e49eb4c54fcac8bd8a4a136d8e116b654efa73ba
2024-01-29 10:11:02 -08:00
Justin Newberry
0a866b2618 Webcam: prepare to make camerad a PythonProcess (#31202)
* webcam

* support /dev/* syntax

* support strings
old-commit-hash: 75d3e5fb4e16c0407cbf7a9b4df08939fa0fe660
2024-01-29 10:10:55 -08:00
Justin Newberry
abfa8fcda9 CommaCarSegments: BIG Database! (#31169)
* sanetized selector

* god damn

* add to re

* slog branch

* slog

* source

* big

* not slog

* cleanup

* no space

* works!

* trigger

* main!
old-commit-hash: 824ddffec8c67758f3ea080c75e805d4b27f38ef
2024-01-27 01:07:29 -08:00
Adeeb Shihadeh
048629564e bootlog: remove timestamp from filename (#31187)
* bootlog: remove timestamp from filename

* revert route

* test

* revert that

* fix loggerd test
old-commit-hash: 25043410705f2a7a275e69ec513c8889465d4ba3
2024-01-26 19:17:38 -08:00
Adeeb Shihadeh
f1a81dd57e tools: add LOG_ID regex pattern (#31186)
old-commit-hash: 52c7514452f984db5036994c20be652ec0b44a6c
2024-01-26 16:44:12 -08:00
Justin Newberry
0d0e6191a8 commaCarSegments cleanup (#31182)
* cleanup

* no space
old-commit-hash: 9518b66c9e49f744591f8da858b201342a8c096d
2024-01-26 13:20:25 -08:00
Justin Newberry
d9a324dc92 CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

* map takes logner to render
old-commit-hash: faf99ba711cb12e33e0e1b6034ec146b65f7a854
2024-01-25 16:49:38 -08:00
Greg Hogan
01eccef5de filereader should use connection pool for file_exists (#31158)
* filereader should use connection pool for file_exists

* remove debug var
old-commit-hash: 6901aada14df6aa68b5e3970da0487b8d2b4df8c
2024-01-25 13:26:12 -08:00
Justin Newberry
231932d962 Simulator: add comment about mapbox tokens (#31162)
* add to readme
old-commit-hash: 410db2cd9fafdf17700179fe14999775551edc78
2024-01-25 12:45:43 -08:00
Justin Newberry
9edc902106 LogReader: fail-fast on invalid segments (#31152)
* don't check all

* is
old-commit-hash: edd2428b6067381ffaa25420d6fd9f0f142038a8
2024-01-25 11:09:09 -08:00
Justin Newberry
7e5bd9247f car porting examples: subaru fuzzy fingerprinting (#31139)
initial commit
old-commit-hash: 1bade14fdaf433a4e115874f9cc74e4fd6190481
2024-01-24 10:23:59 -08:00
Justin Newberry
7d76ac8eba LogReader: replace get_first_message with LogReader.first (#31146)
* first

* str
old-commit-hash: dd0c474e6cc09d17cd07b51098d826dc40bc5403
2024-01-24 10:21:57 -08:00
Justin Newberry
67bb21219c LogReader: no redownloading on multiple iterations (#31141)
* no redownload

* sort
old-commit-hash: 88dcaa51c4d1fcc338d44f55134593760334ae23
2024-01-23 23:54:11 -08:00
Justin Newberry
0d558d02ee auto_source: add commaCarSegments source (#31137)
add source
old-commit-hash: ac71c30ad5d8a5f303ac7a08cc73b8a4b0174498
2024-01-23 21:40:04 -08:00
Justin Newberry
eb417ee8eb use get_first_message for auto_fingerprint
old-commit-hash: abf2801122a8e92e486a8ca88c946949d3149bae
2024-01-23 20:59:32 -08:00
Justin Newberry
6a1d7fd732 comma_api_source: fix qlogs (#31136)
fix qlogs
old-commit-hash: 3d9b483e107e119fd5322e00494a769ef0e081bc
2024-01-23 20:51:15 -08:00
Justin Newberry
8768be968b LogReader: don't use route for max_segment (#31129)
* dont use route

* fix and cleanup
old-commit-hash: d574013d7bda94a43b29095887e176b9723d13cb
2024-01-23 14:51:45 -08:00
Justin Newberry
0fb7448a9d LogReader: remove redirect message for internal data (#31088)
fix logging
old-commit-hash: 0234cadec3aefdca2e71c251ff6f8885a247c34a
2024-01-23 12:55:50 -08:00
Justin Newberry
c5c522c984 plotjuggler: auto fallback to qlogs with prompt (#31110)
* qlog fallback

* show a warning for that

* qlog fallback

* fix

* wording
old-commit-hash: 65490bb3c55fa81d5144eba2c09f054b73179cc4
2024-01-23 12:53:19 -08:00
Justin Newberry
0ae82f96c6 SegmentRange: __str__ get preferred format (#31126)
get canonical
old-commit-hash: 35e1e8ecd2e2a8a458467ecb3ec18730610da18a
2024-01-23 11:40:22 -08:00
Justin Newberry
c03fe6bb13 add example of using the comma car segments database (#31117)
* add vin fingerprinting example

* perhaps!

* remove segment

* easier
old-commit-hash: 389b8ca30d62f81ae40a7d026a299ce3930183da
2024-01-22 18:23:07 -08:00
Justin Newberry
f447062b66 CommaCarSegments: public database of segments for each platform (#31114)
* comma car segments

* comma car segments for test_models

* oneliner

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

* better name

* not used here

* sort

* remove print

* better comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: caa9153974c21fd827d0e991f1789cf3e81b5c3b
2024-01-22 17:33:03 -08:00
Justin Newberry
831826d3e5 Simulator: fix metadrive (#31104)
fix metadrive
old-commit-hash: 81516216b154bbf8c713aa6b4b538d3a2e0ae0b5
2024-01-21 17:34:26 -08:00
Harald Schäfer
66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c384671b448f307a7ed91416886f2186d80
2024-01-21 12:09:48 -08:00
Justin Newberry
b29eea47ce sanitizer: sanitize vin number (#31090)
old-commit-hash: 2c86c023fe2d3072910ed33ff97cd6d3ddf2915d
2024-01-21 12:22:32 -05:00
Justin Newberry
06091f48a9 speedup replay test (#31086)
* speedup replay test

* better name

* comment not required
old-commit-hash: 5c2b7882bf5cddac38b0a323c0d18a91e9d3bc04
2024-01-19 14:39:08 -08:00
Adeeb Shihadeh
972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00
Justin Newberry
3d0ae1aaaa prevent typing issue in azure_container (#31044)
prvent that issue
old-commit-hash: 840db1f1b70e5014f504908eb1beb6358c555cf2
2024-01-17 15:34:24 -08:00
Justin Newberry
09b95b715c cleanup azure handling (#31034)
* wip cleanup

* Wip

* fixes

* fix

* cleanup

* keep this for now

* dest
old-commit-hash: 3f0b56b36472b04dca653ac5870f10d4bd53bc01
2024-01-17 14:21:47 -08:00
Justin Newberry
a9676e7086 auto_source: optimize api calls and use head to determine if file exists (#31025)
* fast

* catch all

* source

* fix file_exists

* remove duplicate reset

* test multiple loops

* iterations

* cleanup imports
old-commit-hash: 2967cada71fd1b40e86356585fa5d68301d9f1c8
2024-01-16 17:24:37 -08:00
Justin Newberry
5df01b3d22 LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
old-commit-hash: 61fe705160ddb9e5c55292c7f702c5502e2c0d2e
2024-01-16 12:40:49 -08:00
Justin Newberry
4b7edec2b0 LogReader: move opci to tools/lib (#31021)
move opci
old-commit-hash: 7d400112df6692ef026245b03951345cc36dd83e
2024-01-16 10:58:51 -08:00
Justin Newberry
35dcd7ccd8 LogReader: support lists of identifiers (#31020)
* support lists of logs

* mark as slow instead
old-commit-hash: 0739d5d7b25f1fbcb70a4dd2ef9b5071afb2c526
2024-01-16 10:40:00 -08:00
Justin Newberry
13e7366b6d LogReader: support only_union_types (#31019)
support only-union-types
old-commit-hash: 4da8d165144404e7356e611e68b036ecb33126ef
2024-01-16 10:03:55 -08:00
Adeeb Shihadeh
bf6fc7a24f more unit test speedup (#30997)
* that's super slow

* fix startup test

* fix
old-commit-hash: fe6aff01311ca3c5a4a549b0eb5d081fa1740f86
2024-01-13 22:21:43 -08:00
Adeeb Shihadeh
96e9a7d3ce CI: speedup unit test job (#30995)
* start

* mv to buildjet

* fix
old-commit-hash: e17e66180c3a9432e6d303ca36ff0e4af763dace
2024-01-13 21:16:35 -08:00
Justin Newberry
f138a6eccf Metadrive: fix map config on main (#30983)
* Fix map api too

* dont render
old-commit-hash: 28e5d1bb49000b0740d36d6cd714126e9dab825c
2024-01-12 14:42:40 -08:00
Justin Newberry
c8cc30112d rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
old-commit-hash: 3d73512c0702598d27e04039976fe0a91d5952f0
2024-01-12 12:53:50 -08:00
Justin Newberry
a729e102c7 Replace multilogiterator (#30980)
old-commit-hash: 9f1b72ac792b8961cd903e425874f3a00a33ab3e
2024-01-12 11:43:32 -08:00