Justin Newberry
6a1d7fd732
comma_api_source: fix qlogs ( #31136 )
...
fix qlogs
old-commit-hash: 3d9b483e10
1 year ago
Justin Newberry
8768be968b
LogReader: don't use route for max_segment ( #31129 )
...
* dont use route
* fix and cleanup
old-commit-hash: d574013d7b
1 year ago
Justin Newberry
0fb7448a9d
LogReader: remove redirect message for internal data ( #31088 )
...
fix logging
old-commit-hash: 0234cadec3
1 year ago
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: 65490bb3c5
1 year ago
Justin Newberry
0ae82f96c6
SegmentRange: __str__ get preferred format ( #31126 )
...
get canonical
old-commit-hash: 35e1e8ecd2
1 year ago
Justin Newberry
c03fe6bb13
add example of using the comma car segments database ( #31117 )
...
* add vin fingerprinting example
* perhaps!
* remove segment
* easier
old-commit-hash: 389b8ca30d
1 year ago
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: caa9153974
1 year ago
Justin Newberry
b29eea47ce
sanitizer: sanitize vin number ( #31090 )
...
old-commit-hash: 2c86c023fe
1 year ago
Justin Newberry
3d0ae1aaaa
prevent typing issue in azure_container ( #31044 )
...
prvent that issue
old-commit-hash: 840db1f1b7
1 year ago
Justin Newberry
09b95b715c
cleanup azure handling ( #31034 )
...
* wip cleanup
* Wip
* fixes
* fix
* cleanup
* keep this for now
* dest
old-commit-hash: 3f0b56b364
1 year ago
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: 2967cada71
1 year ago
Justin Newberry
5df01b3d22
LogReader: fix plotjuggler not reading properly ( #31023 )
...
* fix plotjuggler
* simpler
* fix juggler
* fix that
old-commit-hash: 61fe705160
1 year ago
Justin Newberry
4b7edec2b0
LogReader: move opci to tools/lib ( #31021 )
...
move opci
old-commit-hash: 7d400112df
1 year ago
Justin Newberry
35dcd7ccd8
LogReader: support lists of identifiers ( #31020 )
...
* support lists of logs
* mark as slow instead
old-commit-hash: 0739d5d7b2
1 year ago
Justin Newberry
13e7366b6d
LogReader: support only_union_types ( #31019 )
...
support only-union-types
old-commit-hash: 4da8d16514
1 year ago
Adeeb Shihadeh
96e9a7d3ce
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
old-commit-hash: e17e66180c
1 year ago
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: 3d73512c07
1 year ago
Justin Newberry
a729e102c7
Replace multilogiterator ( #30980 )
...
old-commit-hash: 9f1b72ac79
1 year ago
Justin Newberry
1b65d5cd85
segmentrangereader: support direct parsing ( #30973 )
...
* use correct source
* revert
* cleanup imports
* clean
* direct parsing
* rename
* move up
* fixes
* fix that
* better error message
old-commit-hash: eb09294fc2
1 year ago
Justin Newberry
11449845e7
segmentrangereader: support more sources ( #30970 )
...
* support more sources
* remove this
old-commit-hash: fb994ae782
1 year ago
Justin Newberry
3b86243f1f
SegmentRangeReader: log type selector ( #30960 )
...
* log type selector
* test this too
* and this
* invalid selector
* use strenum
* don't hardcode size
* oneline
old-commit-hash: be814ed447
1 year ago
Justin Newberry
9e6c6d92b0
segmentrangereader: support sort_by_time ( #30954 )
...
support sort-by-time
old-commit-hash: cfb23eb2d1
1 year ago
Justin Newberry
1f434b2714
SegmentRangeReader: new format for reading multiple segments ( #30940 )
...
* segment range reader
* rename that
* revert that
* cleanup
* revert this for now
* revert this for now
* Fix + test
* rm that
* rm that
* use for auto_fingerprint
* simpler
* for notebook too
* match numpy indexing
* just use numpy directly
* remove that
* spacing
* spacing
* use qlog for auto fingerprint
* add 'read mode'
* pass in read mode
* add test for modes
* numpy indexing
* fix that case
* more examples
* fix the notebook
* cleanup the notebook
* cleaner
* fix those
old-commit-hash: 0d126e1e9e
1 year ago
Justin Newberry
7aecd2f91d
url_file: fix non-200 files being cached ( #30886 )
...
* fix + test
* fix unclosed
* easier to read
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix that
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fba521ecc6
1 year ago
Adeeb Shihadeh
207073dc4c
fix unused
...
old-commit-hash: 51a93cf9aa
1 year ago
royjr
d41f215df8
dependency: remove pycurl package ( #30771 )
...
* Update qcomgpsd.py
* Update url_file.py
* remove pycurl
* requests -> urllib3
* unused
* redundant
* fix import
* Revert "requests -> urllib3"
This reverts commit 7ca39e6189
.
* headless
* fix trail
* use requests.exceptions.RequestException
* use fp.tell
* fix indents
* reorder imports
* change timeout
* fix debug timing
* remove exception
* add timeout
* missing headers
* move to constructor
* move import
* unused import
* fix debug
* try
* no retries
old-commit-hash: 70624ffc81
1 year ago
Greg Hogan
e91032efb3
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion ( #30618 )
...
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
old-commit-hash: db35dcd0b5
1 year ago
Justin Newberry
661132be5a
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
old-commit-hash: 4086795c29
1 year ago
Kacper Rączy
6f51ee8267
URLFile: exception type for failed requests ( #30330 )
...
URLFileException for URLFile request errors
old-commit-hash: c27e977475
2 years ago
Greg Hogan
a544533476
framereader: eliminate tempfile usage ( #30289 )
...
old-commit-hash: 68acb26aa2
2 years ago
Greg Hogan
99d094a006
fix ffprobe on device ( #30286 )
...
* fix ffprobe on device
* use FileReader
* no more requests
old-commit-hash: 59e947dc6c
2 years ago
Justin Newberry
ef1acd4e6c
Proc Replay: cleanup iterable log typing ( #30261 )
...
* cleanup log typing
* use iterable
* fix those
* Cleanup
* cleanup
* missed that one
old-commit-hash: 1820b5f259
2 years ago
Greg Hogan
a62749f527
vidindex improvements ( #30196 )
...
* vidindex improvements
* fix spelling
old-commit-hash: 6f98a987af
2 years ago
Greg Hogan
e0469bdde6
filereader cleanup ( #30191 )
...
* filereader cleanup
* make name return url
* remove unused imports
old-commit-hash: 86b90a8ba2
2 years ago
Greg Hogan
29bb2cf867
convert vidindex to python ( #30176 )
...
* convert vidindex to python
* fix whitespace
* corrupt file option
* fix up typings
* fix return type
* update framereader
* change length delimiter to uint32 value
* change length to uint32 value
* move url_file changes to separate PR
* cleanup caching
* revert whitespace change
* fix frame type param type
old-commit-hash: f8e488f881
2 years ago
Justin Newberry
a9153302a3
URLFile: don't cache non-existent file's lengths ( #30071 )
...
* urlfile empty
* simplify with mock
* better test name
* PR cleanup
* cleanup the length file
old-commit-hash: fa51bbc236
2 years ago
YassineYousfi
eb7cad40dd
framereader: add cache_dir argument ( #29904 )
...
* framereader: add cache_dir argument
* make it an env var
old-commit-hash: 880157f5a6
2 years ago
Greg Hogan
b5375cc82d
importing auth_config.py should not have side effects ( #29893 )
...
import should not create directory
old-commit-hash: 140a4ba558
2 years ago
Justin Newberry
dc6078a6c3
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
old-commit-hash: 73eda51a11
2 years ago
Justin Newberry
3b91610c0b
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
old-commit-hash: 4e69937d0d
2 years ago
Justin Newberry
1cc555c37b
Tests: expand temporary directory helpers for more directories ( #29735 )
...
* create helpers for testing
* document it
* fix other tests
old-commit-hash: 405d09714c
2 years ago
Justin Newberry
279bd020dc
Tests: logmessaged reduce global state ( #29680 )
...
* reduce global state
* use a decorator here too
* use that one
* use base imports
* ipchandler in setup
* move to common dir
* move to helpers
* wip
* fix the decorator
old-commit-hash: 5dc7028f91
2 years ago
Justin Newberry
b08c5d7517
Tests: test_caching reduce global state ( #29681 )
...
old-commit-hash: dd9b0231c6
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
Dean Lee
0984736972
cpplint: add filter `build/include_subdir` ( #29585 )
...
old-commit-hash: 21da5a216f
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
e76af64065
CI: enable PYTHONWARNINGS=error ( #29364 )
...
* CI: enable PYTHONWARNINGS=error
* fixes
* more ignore
* more modeld ignore
old-commit-hash: b11b14aff8
2 years ago
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
2 years ago
Justin Newberry
715f028a0e
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40
2 years ago
Justin Newberry
7d6d3dc9ea
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
old-commit-hash: af3ed37c5c
2 years ago