Commit Graph

1396 Commits

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

* don't change workdir
2024-02-06 17:11:00 -08:00
dzid26 0af62eb3b0
camerastream instructions (#31326)
* camerastream instructions

* Update README.md

* Update tools/README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-02-06 13:19:01 -08:00
Kacper Rączy 35d848ad52
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
2024-02-05 19:04:59 -08:00
Justin Newberry b17f24d68e
test_logreader: test run_across_segments (#31305)
* more logreader tests

* not in ci for now

* enable cache
2024-02-05 18:35:12 -08:00
Greg Hogan a8aa04e6bd
make URLFile safe after fork() (#31309)
* make URLFile safe after fork()

* cache the pool manager in each instance

* type hints
2024-02-05 18:07:48 -08:00
Adeeb Shihadeh 43f151eea9 compressed_vipc supports all frame sizes 2024-02-04 15:29:43 -08:00
Adeeb Shihadeh 3972073fd4 tools: fix up can_replay 2024-02-04 14:48:06 -08:00
Hoang Bui 71236204bb
Fix self.started value pass in metadrive test (#31153)
* fix value pass

* fix test

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2024-02-02 12:06:05 -08:00
Justin Newberry 6010a39bf8
LogReader: skip file_exists check for comma_api (#31251)
* valid file

* missed this one
2024-01-31 16:43:58 -08:00
Justin Newberry c782fbc34e
LogReader: add ```.filter``` (#31222)
add filter
2024-01-29 17:33:47 -08:00
Justin Newberry 7835f9cce0
LogReader: add tqdm back to run_across_segments (#31216)
tqdm
2024-01-29 13:18:49 -08:00
Justin Newberry e49eb4c54f
Simulator: prepare to make bridge a PythonProcess (#31201)
* sim services

* clean
2024-01-29 10:11:02 -08:00
Justin Newberry 75d3e5fb4e
Webcam: prepare to make camerad a PythonProcess (#31202)
* webcam

* support /dev/* syntax

* support strings
2024-01-29 10:10:55 -08:00
Justin Newberry 824ddffec8
CommaCarSegments: BIG Database! (#31169)
* sanetized selector

* god damn

* add to re

* slog branch

* slog

* source

* big

* not slog

* cleanup

* no space

* works!

* trigger

* main!
2024-01-27 01:07:29 -08:00
Adeeb Shihadeh 2504341070
bootlog: remove timestamp from filename (#31187)
* bootlog: remove timestamp from filename

* revert route

* test

* revert that

* fix loggerd test
2024-01-26 19:17:38 -08:00
Adeeb Shihadeh 52c7514452
tools: add LOG_ID regex pattern (#31186) 2024-01-26 16:44:12 -08:00
Justin Newberry 9518b66c9e
commaCarSegments cleanup (#31182)
* cleanup

* no space
2024-01-26 13:20:25 -08:00
Justin Newberry faf99ba711
CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

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

* remove debug var
2024-01-25 13:26:12 -08:00
Justin Newberry 410db2cd9f
Simulator: add comment about mapbox tokens (#31162)
* add to readme
2024-01-25 12:45:43 -08:00
Justin Newberry edd2428b60
LogReader: fail-fast on invalid segments (#31152)
* don't check all

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

* str
2024-01-24 10:21:57 -08:00
Justin Newberry 88dcaa51c4
LogReader: no redownloading on multiple iterations (#31141)
* no redownload

* sort
2024-01-23 23:54:11 -08:00
Justin Newberry ac71c30ad5
auto_source: add commaCarSegments source (#31137)
add source
2024-01-23 21:40:04 -08:00
Justin Newberry abf2801122 use get_first_message for auto_fingerprint 2024-01-23 20:59:32 -08:00
Justin Newberry 3d9b483e10
comma_api_source: fix qlogs (#31136)
fix qlogs
2024-01-23 20:51:15 -08:00
Justin Newberry d574013d7b
LogReader: don't use route for max_segment (#31129)
* dont use route

* fix and cleanup
2024-01-23 14:51:45 -08:00
Justin Newberry 0234cadec3
LogReader: remove redirect message for internal data (#31088)
fix logging
2024-01-23 12:55:50 -08:00
Justin Newberry 65490bb3c5
plotjuggler: auto fallback to qlogs with prompt (#31110)
* qlog fallback

* show a warning for that

* qlog fallback

* fix

* wording
2024-01-23 12:53:19 -08:00
Justin Newberry 35e1e8ecd2
SegmentRange: __str__ get preferred format (#31126)
get canonical
2024-01-23 11:40:22 -08:00
Justin Newberry 389b8ca30d
add example of using the comma car segments database (#31117)
* add vin fingerprinting example

* perhaps!

* remove segment

* easier
2024-01-22 18:23:07 -08:00
Justin Newberry caa9153974
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>
2024-01-22 17:33:03 -08:00
Justin Newberry 81516216b1
Simulator: fix metadrive (#31104)
fix metadrive
2024-01-21 17:34:26 -08:00
Harald Schäfer e6c97c3846
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>
2024-01-21 12:09:48 -08:00
Justin Newberry 2c86c023fe
sanitizer: sanitize vin number (#31090) 2024-01-21 12:22:32 -05:00
Justin Newberry 5c2b7882bf
speedup replay test (#31086)
* speedup replay test

* better name

* comment not required
2024-01-19 14:39:08 -08:00
Adeeb Shihadeh 7cd9568423
remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
2024-01-19 14:05:03 -08:00
Justin Newberry 840db1f1b7
prevent typing issue in azure_container (#31044)
prvent that issue
2024-01-17 15:34:24 -08:00
Justin Newberry 3f0b56b364
cleanup azure handling (#31034)
* wip cleanup

* Wip

* fixes

* fix

* cleanup

* keep this for now

* dest
2024-01-17 14:21:47 -08:00
Justin Newberry 2967cada71
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
2024-01-16 17:24:37 -08:00
Justin Newberry 61fe705160
LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
2024-01-16 12:40:49 -08:00
Justin Newberry 7d400112df
LogReader: move opci to tools/lib (#31021)
move opci
2024-01-16 10:58:51 -08:00
Justin Newberry 0739d5d7b2
LogReader: support lists of identifiers (#31020)
* support lists of logs

* mark as slow instead
2024-01-16 10:40:00 -08:00
Justin Newberry 4da8d16514
LogReader: support only_union_types (#31019)
support only-union-types
2024-01-16 10:03:55 -08:00
Adeeb Shihadeh fe6aff0131
more unit test speedup (#30997)
* that's super slow

* fix startup test

* fix
2024-01-13 22:21:43 -08:00
Adeeb Shihadeh e17e66180c
CI: speedup unit test job (#30995)
* start

* mv to buildjet

* fix
2024-01-13 21:16:35 -08:00
Justin Newberry 28e5d1bb49
Metadrive: fix map config on main (#30983)
* Fix map api too

* dont render
2024-01-12 14:42:40 -08:00
Justin Newberry 3d73512c07
rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
2024-01-12 12:53:50 -08:00
Justin Newberry 9f1b72ac79
Replace multilogiterator (#30980) 2024-01-12 11:43:32 -08:00