Justin Newberry
8364cd2f2c
jenkins: publish casync releases from device ( #32142 )
...
* publish in ci
* overwrite
* publish in ci
* fix
* test it
* Revert "test it"
This reverts commit b3de51dc69
.
* use right token
* cleanup after uploading
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Justin Newberry
fc9f50c90d
fix logreader after `segment_numbers` api removal ( #32073 )
...
fix
1 year ago
Cameron Clough
27d2a6066d
tools: remove unused timestamp_to_datetime ( #31950 )
1 year ago
Justin Newberry
b0eb3ba4f4
cars: platform enums -> prepend brand name ( #31927 )
...
* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
1 year ago
thenhnn
489528dcae
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
1 year ago
Justin Newberry
a819292073
logreader: fix auto source + interactive modes ( #31847 )
...
* interactive modes
* these exceptions don't matter
1 year ago
Shane Smiskol
e964c5944d
LogReader: fix sort by time and union types ( #31565 )
...
* fix :(
* test_sort_by_time
* this isn't required
* not slow, and just compare sorted
* messy
* works
* clean up
* clean up
* not here
* clean up
* clean up
* clean up
* makes network call
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
1 year ago
Adeeb Shihadeh
7cfc571f56
timeless routes ( #31119 )
...
* timeless route
* update sort
* update test
* fix param name
1 year ago
Justin Newberry
f4a7e8eae6
disable commaCarSegments tests ( #31632 )
...
disable this test too
1 year ago
Justin Newberry
9d1cafd0fc
move with_http_server to selfdrive/test/helpers ( #31597 )
...
* move
* fix
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
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
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
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
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
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
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!
1 year ago
Adeeb Shihadeh
2504341070
bootlog: remove timestamp from filename ( #31187 )
...
* bootlog: remove timestamp from filename
* revert route
* test
* revert that
* fix loggerd test
1 year ago
Adeeb Shihadeh
52c7514452
tools: add LOG_ID regex pattern ( #31186 )
1 year ago
Justin Newberry
9518b66c9e
commaCarSegments cleanup ( #31182 )
...
* cleanup
* no space
1 year ago
Greg Hogan
6901aada14
filereader should use connection pool for file_exists ( #31158 )
...
* filereader should use connection pool for file_exists
* remove debug var
1 year ago
Justin Newberry
edd2428b60
LogReader: fail-fast on invalid segments ( #31152 )
...
* don't check all
* is
1 year ago
Justin Newberry
dd0c474e6c
LogReader: replace get_first_message with LogReader.first ( #31146 )
...
* first
* str
1 year ago
Justin Newberry
88dcaa51c4
LogReader: no redownloading on multiple iterations ( #31141 )
...
* no redownload
* sort
1 year ago
Justin Newberry
ac71c30ad5
auto_source: add commaCarSegments source ( #31137 )
...
add source
1 year ago
Justin Newberry
3d9b483e10
comma_api_source: fix qlogs ( #31136 )
...
fix qlogs
1 year ago
Justin Newberry
d574013d7b
LogReader: don't use route for max_segment ( #31129 )
...
* dont use route
* fix and cleanup
1 year ago
Justin Newberry
0234cadec3
LogReader: remove redirect message for internal data ( #31088 )
...
fix logging
1 year ago
Justin Newberry
65490bb3c5
plotjuggler: auto fallback to qlogs with prompt ( #31110 )
...
* qlog fallback
* show a warning for that
* qlog fallback
* fix
* wording
1 year ago