Lukas Petersson
a16a20005b
process replay: logreader as bytes ( #24610 )
...
* willem's changes
* classmethod for bytes
* submodules
* submodules
* Update tools/lib/logreader.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add back files
* little cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86f73a507e
3 years ago
Willem Melching
f957c16a7b
make normal logreader more robust ( #24577 )
...
old-commit-hash: 194e5fdf1c
3 years ago
Lukas Petersson
2d6ae65ea7
Latency logger bad data robustness ( #24343 )
...
* robustness against bad data
* sort by time logreader
* loop until last frameid
old-commit-hash: 1439867d16
3 years ago
Lukas Petersson
df8476118b
Latency logging 2 ( #24058 )
...
* msg_order and gantt
* frameId in long/lat planner
* track frame id
* controls frame id
* graph tracked events
* graph json
* cloudlog timestamp
* c++ cloudlog
* add frame id
* bug fixes
* bug fixes
* frame id visionicp
* bug fixes and debug level
* timestamp log placement
* print timestamps in table
* translate events
* more logging
* bug fixes
* daemon boardd
* print logs with boardd
* more timestamp logs
* cleanup
* remove publish logs
* bug fix
* timestamp received
* timestamp received
* bug fixes
* use json lib
* ignore driver camera
* prep for new timestamp pipeline
* bug fix
* read new pipeline unfinnished
* read new pipeline
* bug fix
* add frame to controlsstate
* remove controlsstate
* print
* cleanup
* more cleanup + bug fix
* clock build issue
* remove unused imports
* format durations
* increase speed
* pr comments fixes
* conflicts
* set MANAGER_DAEMON for boardd
* clean script code
* bug fix + argparse
* remove rcv time
* bug fixes
* print without tabulate
* fix pre-commits
* plot gnatt
* color bug fix
* read without timestampextra
* bump panda
* mono time instead of frame id
* finnish script
* clean unused
* clean unused logging
* monotonic + json fixes
* del test
* remove whilelines
* bump laika
* cleanup
* remove deps
* logs nicer strings
* remove plotting from scirpt
* reset pipfile
* reset pipfile
* nicer strings
* bug fix
* bug fix
* pr comments cleaning
* remove plotting
* bug fix
* new demo route
* bump opendbc and panda
* cereal master
* cereal master
* script less komplex
* assertions
* matplotlib
* readme
* Update README.md
* graph html
* design fixes
* more code design
* Update common/logging_extra.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update tools/latency_logger/latency_logger.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pr comments
* bug fix
* readme + env once
* clean swaglog
* bug fix
* Update tools/latencylogger/README.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* revert
* revert
* clean swaglog with error
* remove typo file
* revert graph
* cereal
* submodules
* whitespaces
* update refs
Co-authored-by: Bruce Wayne <batman@workstation-openpilot2.internal>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 65fca83abe
3 years ago
Adeeb Shihadeh
6f88ca1c6f
MultiLogIterator: add function to reset
...
old-commit-hash: c95ec211e1
3 years ago
Adeeb Shihadeh
8a682597ca
can_print_changes improvements
...
old-commit-hash: 1680f1e251
3 years ago
Greg Hogan
0b659ce9b6
eliminate xx filereader ( #23514 )
...
* eliminate xx filereader
* framereader cleanup
old-commit-hash: d5f4fdb1db
3 years ago
Adeeb Shihadeh
ba30137b2a
MultiLogIterator: fix after adding sort_by_time
...
old-commit-hash: bbb47dc860
3 years ago
Adeeb Shihadeh
c036e64c86
MultiLogIterator: remove wraparound mode ( #23360 )
...
old-commit-hash: 92f194decc
3 years ago
Greg Hogan
2f843c3023
LogReader: add arg to sort by time ( #23346 )
...
* logreader optional sort by time
* robust logreader sort by time option
old-commit-hash: 9992ea1ae8
3 years ago
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
3 years ago
Adeeb Shihadeh
0827af77e5
MultiLogIterator: default wraparound to false
...
old-commit-hash: c8356d3b8f
3 years ago
Adeeb Shihadeh
6c90a5d445
logreader: remove log path print
...
old-commit-hash: 01b99eae35
3 years ago
Greg Hogan
44f03a9401
fix log values with non-utf8 characters and remove index_log ( #20173 )
...
* remove index_log
* handle non-unicode characters in values
* dump.py better handling of printing non-unicode characters
* only replace errors in main
old-commit-hash: 78808961c5
4 years ago
Greg Hogan
d200f048b7
fix pylint errors
...
old-commit-hash: 1e6c7c94e4
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
George Hotz
d47b2ef576
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc
5 years ago
George Hotz
6fbcde48e5
Using lgtm.com and fixing found alerts ( #1452 )
...
* lgtm in readme, and mac nui fixes
* call super inits in radars
* unused imports, dup lines
* more radars, more unused imports
* pass CP into RadarInterfaceBase
* more fixups
* unused imports
* delete unused lines
* ugh, new unused import
Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06c
5 years ago
Willem Melching
6993b1ecca
Build log_index using scons
...
old-commit-hash: 845abed5db
5 years ago
George Hotz
640c41a3ff
Add sentinels to logs and qlogs ( #1205 )
...
* sentinel WIP
* logger is now a cc, not a c
* simpler code doesn't touch loggerd.cc
* oops, double lock. and logreader is nicer
old-commit-hash: 2f2b85581c
5 years ago
Andy Haden
03acf56736
Revert "no more xx imports in tools"
...
This reverts commit 2de79769f0e7d29cc1e4f5544ae1681127ed3c5c.
old-commit-hash: 4a94e507cf
5 years ago
Willem Melching
6929d5b6e0
no more xx imports in tools
...
old-commit-hash: 1f9485171e
5 years ago
Andy
738c3cca79
Tools: Storage API ( #1161 )
...
* filereader
* support URLs in filereader, logreader
* unused
* use route files api; add auth file
* Implement browser auth
* Update readme, fix up cache paths
* Add tests, clear token on 401
* Factor out URLFile
* space
old-commit-hash: c4af05868b
5 years ago
George Hotz
99c5800ea5
merge in tools
...
old-commit-hash: 29ac3da7b8
5 years ago