Robbe Derks
08bb6d822e
linux-aarch64 also works for plotjuggler
...
old-commit-hash: 854e78eaffbdf66daccb53aa326276fb51723ee1
2024-02-25 18:18:43 +00:00
Cameron Clough
9bd90112d0
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 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Justin Newberry
cc77d0ca34
segment range docs update ( #31560 )
...
* the format
* cleaner
old-commit-hash: 556f9738960526d6eeaab9fe639d0340a6d5d6c9
2024-02-23 11:50:33 -08:00
Greg Hogan
b4479b4155
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 >
old-commit-hash: 43f64ec5005b38b9d2f3ccab9b8bd99a2c1cd6fd
2024-02-22 13:17:02 -08:00
Justin Newberry
bc9ad2ab13
fix static analysis
...
old-commit-hash: 3f104f3fbd7af6e0d1b59377165e6ae0a347c744
2024-02-21 11:26:49 -08:00
Adeeb Shihadeh
13ec05e3f3
add power cycling to can_replay
...
old-commit-hash: e7695c3f32e95bbd0ad31e2ef09075c93ba9f65b
2024-02-21 11:12:56 -08:00
Adeeb Shihadeh
3dbb5d03a0
pj: gpu usage isn't real
...
old-commit-hash: c645feb1aaf52a1dae58af3c24c7955e4d0600e7
2024-02-20 16:55:46 -08:00
Justin Newberry
edef8ed522
Simulator: simulate the obd enabled/changed dance ( #31519 )
...
obd dance
old-commit-hash: a51ef41cf87c5a8b2eaa5301911051a9d5a8d00c
2024-02-20 12:11:42 -08:00
Shane Smiskol
aeb904d5da
test_fw_query_on_routes: get first qlog ( #31496 )
...
* fast
* this isn't internal
* see
old-commit-hash: c5f1f4c67663161d335048238e6dd5506bde3555
2024-02-16 17:55:15 -08:00
Justin Newberry
8dbdd4736c
test_logreader: test internal scenarios ( #31484 )
...
* test source scenario
* test source scenario
* fix
old-commit-hash: 16d13395536e84ddf492b2352d827d33befd601e
2024-02-15 12:10:56 -08:00
Justin Newberry
42f292b3ce
test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE ( #31481 )
...
* fix spelling
* test interactive
* remove that
* test taht
* move that
old-commit-hash: 8aee0d2af2c9e9c1755afa2b46f68b199958ccdb
2024-02-15 11:24:27 -08:00
Greg Hogan
6c51d1563d
URLFile: add typing and internalize pool manager ( #31466 )
...
* URLFile: add typing and internalize pool manager
* cleanup
old-commit-hash: e59fe0014af6e97485c89502c747d3117f95e91a
2024-02-14 14:09:01 -08:00
Justin Newberry
edd4649d24
LogReader: add typing hints ( #31464 )
...
logreader typing
old-commit-hash: 33cf6bda9ef6b1ed19f3a0fed4a5914a414ae653
2024-02-14 10:34:17 -08:00
Justin Newberry
38fc6f9dd6
LogReader: retain old behavior for direct parsing of files ( #31419 )
...
* maintain exception
* test that head is not called
* annoying mock
* test with cache
old-commit-hash: 1436f576df5f43f78b9253b5b2072fbf1414d9be
2024-02-14 10:05:25 -08:00
Jason Young
af9122c799
fix pre-commit install process ( #31445 )
...
* fix pre-commit install process
* only install pre-commit from a git repo
old-commit-hash: 991d02ba27cf84e7140aedd5ca4173ffe5cb0d58
2024-02-14 08:19:20 -08:00
Shane Smiskol
9d941a9682
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
old-commit-hash: 796671fe1a9131275c4ff0d67293bb669d0dcd98
2024-02-14 04:36:58 -08:00
Shane Smiskol
5c16ae62d8
SegmentRange: simplify slice ( #31455 )
...
* simplify slicing
* rm
old-commit-hash: 8fe9bc7a6977f9f901b1ddf8eb0916ac80224644
2024-02-14 04:17:03 -08:00
Shane Smiskol
ae65a01afd
SegmentRange: test API call ( #31456 )
...
* test
* better
* better
old-commit-hash: c4f7991bb63ba7953f37eb08f14d227fec8a5524
2024-02-14 03:29:08 -08:00
Shane Smiskol
7afdb2393d
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
old-commit-hash: 82763710097cbfe629502502163a7d2d6319f3fd
2024-02-14 02:05:55 -08:00
Shane Smiskol
4c7ad7f3b7
tools/lib: format code ( #31454 )
...
easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
old-commit-hash: 0846175f44ac9364527087db4ec54767e6884fca
2024-02-14 01:56:17 -08:00
Shane Smiskol
a4e61c1022
SegmentRange: define __repr__
...
old-commit-hash: 884bd5c7f68018028620821c6b25b5f37e2f7841
2024-02-13 22:58:44 -08:00
Justin Newberry
8b5f1235f4
live_logreader to its own file ( #31436 )
...
own file
old-commit-hash: d6762c3035fac31cc9582c685c07441d61da0f83
2024-02-13 13:29:52 -08:00
Adeeb Shihadeh
1efa8db1b4
dongle id is only hex ( #31426 )
...
* dongle id is only hex
* so is the count
old-commit-hash: e9071f11988f780063e74c01c11bbb2dd7448bee
2024-02-13 13:01:25 -08:00
Justin Newberry
fbf5ada69f
LogReader: live_logreader helpers ( #31416 )
...
live helper
old-commit-hash: 0a92c5bf966530335e804a8f240b10ae982bfcb2
2024-02-12 12:58:25 -08:00
Greg Hogan
1384c10fb0
logreader: skip internal source if not available ( #31400 )
...
* logreader: skip internal source if not available
* raise exception
* but only when appropriate
old-commit-hash: 667693b8c2ca7ef0b0457823cd76b93b22764038
2024-02-10 00:20:43 -08:00
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bde5aef4ea483e8054456187772afe92
2024-02-09 21:44:23 -08:00
Justin Newberry
02aea8b757
test_caching: use with_http_server ( #31393 )
...
use http server
old-commit-hash: 664a3c86babf84b64ae7856bc25789b165cf1e83
2024-02-09 20:06:11 -08:00
Justin Newberry
bcd22c1683
LogReader: test auto mode fallback ( #31390 )
...
* test auto mode
* better
* slow
* better
old-commit-hash: f87322423534a28ef1680bc86ec072b2914fd217
2024-02-09 15:22:43 -08:00
Greg Hogan
cb6a47c6bf
simplify URLFile ( #31365 )
...
* simplify URLFile
* more space
old-commit-hash: ec9f3dcef367e6c29756ededa7e83783ef280cfa
2024-02-08 10:24:45 -08:00
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