Justin Newberry
8ec0d87de0
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
1 year ago
Michel Le Bihan
87a9445d56
Add simple MetaDrive scenario ( #31686 )
1 year ago
Adeeb Shihadeh
9b2665f0c1
can_replay fixups for bxcan hw
1 year ago
Adeeb Shihadeh
cfc5faee2a
fix compress_vipc width
1 year ago
Justin Newberry
b0496d8294
can_replay: log fingerprint for hardcoding ( #31671 )
...
* log
* quotes
1 year ago
Harald Schäfer
85eb221e4c
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
1 year ago
Justin Newberry
f4a7e8eae6
disable commaCarSegments tests ( #31632 )
...
disable this test too
1 year ago
Justin Newberry
edd26acdc3
can_replay: add type hint ( #31601 )
...
type hint
1 year ago
Justin Newberry
9d1cafd0fc
move with_http_server to selfdrive/test/helpers ( #31597 )
...
* move
* fix
1 year ago
Robbe Derks
854e78eaff
linux-aarch64 also works for plotjuggler
1 year ago
Cameron Clough
995250ae49
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
1 year ago
Justin Newberry
556f973896
segment range docs update ( #31560 )
...
* the format
* cleaner
1 year ago
Greg Hogan
43f64ec500
URLFile: default value test ( #31544 )
...
* URLFile: default value test
* cleanup
* fix env
* improvements
* fix GET response
* only delete cache dir if it exists
* env pop
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
Justin Newberry
3f104f3fbd
fix static analysis
1 year ago
Adeeb Shihadeh
e7695c3f32
add power cycling to can_replay
1 year ago
Adeeb Shihadeh
c645feb1aa
pj: gpu usage isn't real
1 year ago
Justin Newberry
a51ef41cf8
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
1 year ago
Shane Smiskol
c5f1f4c676
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
1 year ago
Justin Newberry
16d1339553
test_logreader: test internal scenarios ( #31484 )
...
* test source scenario
* test source scenario
* fix
1 year ago
Justin Newberry
8aee0d2af2
test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE ( #31481 )
...
* fix spelling
* test interactive
* remove that
* test taht
* move that
1 year ago
Greg Hogan
e59fe0014a
URLFile: add typing and internalize pool manager ( #31466 )
...
* URLFile: add typing and internalize pool manager
* cleanup
1 year ago
Justin Newberry
33cf6bda9e
LogReader: add typing hints ( #31464 )
...
logreader typing
1 year ago
Justin Newberry
1436f576df
LogReader: retain old behavior for direct parsing of files ( #31419 )
...
* maintain exception
* test that head is not called
* annoying mock
* test with cache
1 year ago
Jason Young
991d02ba27
fix pre-commit install process ( #31445 )
...
* fix pre-commit install process
* only install pre-commit from a git repo
1 year ago
Shane Smiskol
796671fe1a
SegmentRange: more explicit slice matching ( #31451 )
...
* more explicit
* fix it
* use non capturing group
* only needed for regex101
* make test_logreader.py executable
* fix
* stash
* passes test
* none
* type anotate
* test
* fix
* nice for syntax highlighting
1 year ago
Shane Smiskol
8fe9bc7a69
SegmentRange: simplify slice ( #31455 )
...
* simplify slicing
* rm
1 year ago
Shane Smiskol
c4f7991bb6
SegmentRange: test API call ( #31456 )
...
* test
* better
* better
1 year ago
Shane Smiskol
8276371009
SegmentRange: type annotations ( #31453 )
...
* type annotate SegmentRange
* proper formatting
* oops
* numpy?
format test too
* draft
* fixed
* clean up
* rm
* more
* clean up
* clean up
* rm
* not here
* revert
1 year ago
Shane Smiskol
0846175f44
tools/lib: format code ( #31454 )
...
easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
1 year ago
Shane Smiskol
884bd5c7f6
SegmentRange: define __repr__
1 year ago
Justin Newberry
d6762c3035
live_logreader to its own file ( #31436 )
...
own file
1 year ago
Adeeb Shihadeh
e9071f1198
dongle id is only hex ( #31426 )
...
* dongle id is only hex
* so is the count
1 year ago
Justin Newberry
0a92c5bf96
LogReader: live_logreader helpers ( #31416 )
...
live helper
1 year ago
Greg Hogan
667693b8c2
logreader: skip internal source if not available ( #31400 )
...
* logreader: skip internal source if not available
* raise exception
* but only when appropriate
1 year ago
Adeeb Shihadeh
daceb171bd
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
1 year ago
Justin Newberry
664a3c86ba
test_caching: use with_http_server ( #31393 )
...
use http server
1 year ago
Justin Newberry
f873224235
LogReader: test auto mode fallback ( #31390 )
...
* test auto mode
* better
* slow
* better
1 year ago
Greg Hogan
ec9f3dcef3
simplify URLFile ( #31365 )
...
* simplify URLFile
* more space
1 year ago
Justin Newberry
ceecf39c54
Docker: merge opencl and base images ( #31338 )
...
* mergeem
* don't change workdir
1 year ago
dzid26
0af62eb3b0
camerastream instructions ( #31326 )
...
* camerastream instructions
* Update README.md
* Update tools/README.md
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
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
1 year ago
Justin Newberry
b17f24d68e
test_logreader: test run_across_segments ( #31305 )
...
* more logreader tests
* not in ci for now
* enable cache
1 year ago
Greg Hogan
a8aa04e6bd
make URLFile safe after fork() ( #31309 )
...
* make URLFile safe after fork()
* cache the pool manager in each instance
* type hints
1 year ago
Adeeb Shihadeh
43f151eea9
compressed_vipc supports all frame sizes
1 year ago
Adeeb Shihadeh
3972073fd4
tools: fix up can_replay
1 year ago
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>
1 year ago
Justin Newberry
6010a39bf8
LogReader: skip file_exists check for comma_api ( #31251 )
...
* valid file
* missed this one
1 year ago
Justin Newberry
c782fbc34e
LogReader: add ```.filter``` ( #31222 )
...
add filter
1 year ago
Justin Newberry
7835f9cce0
LogReader: add tqdm back to run_across_segments ( #31216 )
...
tqdm
1 year ago
Justin Newberry
e49eb4c54f
Simulator: prepare to make bridge a PythonProcess ( #31201 )
...
* sim services
* clean
1 year ago