Willem Melching
|
03ed20610b
|
replay: improve download prints
old-commit-hash: e5e90aeae5
|
4 years ago |
Dean Lee
|
e7aa4f16e5
|
replay: improve segment downloading (#22504)
* improve segment downloading
dd
* continue
* log retrying
* check aborting_ in loop
* std::endl
* log download information
* cleanup
* continue
* dd
* move download to seperate funciton
* simplify logging
* continue
* guard ts
* cleanup
* typo
old-commit-hash: 8d1d0c2cd7
|
4 years ago |
Dean Lee
|
4e2be9ccda
|
replay: added a missing #include <array> on Mac (#22573)
old-commit-hash: 47ce0b4cd2
|
4 years ago |
Dean Lee
|
f5335bd42d
|
replay: refactor Route and Segment (#22531)
* new functions
* fix wrong call to qUrl::isLocalFile
* cleanup
* keep extension in cached files
* cleanup
* simplify segment
* delete thread
* add output
* pre-decompress
* remove suffix
* revert remove suffix
* 1 connection for log file
* cleanup
* segment may not be continuous,use map
* don't emit finish if aborting_
* use QFuture and thread pool
* cleanup
* fix segfault in LoadFromLocal
* cleanup
* handle segment failed to load
* output info
* continue error handling
* Remove redundant testSeekTo
* cleanup
* always return true
* keep time is ok now
change to 1s
write 1 byte at the end of the sparse file
* log loading segment
* merge #22476
* Update selfdrive/ui/replay/logreader.cc
* correct connect
* pub message in function
* typo
* Update selfdrive/ui/replay/replay.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: acc52ece20
|
4 years ago |
Dean Lee
|
66ca3985c9
|
replay : move utility functions into separate file (#22414)
* move functions into util
* read bz2 into stream
* pre-decompress log in the download thread
* cleanup logreader
* cache sha256 path
* use readBZ2file in test_logger
* Revert "cache sha256 path"
This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.
* use macro
* use ostringstream
* cleanup readBZ2File
* move precise_nano_sleep into util
old-commit-hash: d28b98c602
|
4 years ago |