4678903a61 
								
									
								
							
								 
							
						 
						
							
							
								
								replay/camera: publish each camera in a separate thread ( #22591 )  
							
							... 
							
							
 
							
							* publish frames in a seperate thread for each camera
* cleanup
* cleanup
* prefetch next frame
* cleanup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e5e90aeae5 
								
							
								 
							
						 
						
							
							
								
								replay: improve download prints  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8d1d0c2cd7 
								
									
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0189a19b8e 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: refactor FrameReader ( #22438 )  
							
							... 
							
							
 
							
							* decode from the previous keyframe after seek
* less memory
* some stream seems to contian no keyframes
* test random seek
* merge master
* continue
update test_cases
use fr
* merge master 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ccc07db1ee 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: just load one segment to start replaying ( #22598 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								94b3d4d267 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: allocate events in contiguous memory pool ( #22535 )  
							
							... 
							
							
 
							
							* memory pool
* reserve events too
* remove dctor
* cleanup
* move pool into class LogReader
* cleanup include 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f6de10b55a 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: start streaming after segment loaded ( #22575 )  
							
							... 
							
							
 
							
							* start streaming  after segment loaded
dd
* loop from beginning if reaches the end
* isSegmentLoaded
* one loop
* move to ctor
* delete stream_thread_ on exit
* pause streaming while testing seek
* Revert "one loop"
This reverts commit f029cd118f7ac876dee1dbf2b91478403211ad47.
* test:dummy stream thread
* cleanup
* start thread after vipcserver 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c73d9ddaa6 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: fix hanging on shutdown while downloading ( #22592 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								085c424cf9 
								
									
								
							
								 
							
						 
						
							
							
								
								framereader: remove swscale ( #22578 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ae5eedb0b1 
								
									
								
							
								 
							
						 
						
							
							
								
								Replay/framereader: fix c3 qcamera padding problem ( #22572 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								47ce0b4cd2 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: added a missing #include <array> on Mac ( #22573 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								20b0ae0e65 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: fix possible segfault in CameraServer ( #22556 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								acc52ece20 
								
									
								
							
								 
							
						 
						
							
							
								
								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> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								43a846843f 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: support local routes ( #22288 )  
							
							... 
							
							
 
							
							* support local route
* kind of works
* works
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f1fcf17c4c 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: support old, pre-pandaStates routes ( #22525 )  
							
							... 
							
							
 
							
							* replay: support old, pre-pandaStates routes
* cleanup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c801c65b9d 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: get EncoderIndex from capnp::AnyStruct ( #22518 )  
							
							... 
							
							
 
							
							* get EncoderIndex from capnp::AnyStruct
* const 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								537dff3ae0 
								
									
								
							
								 
							
						 
						
							
							
								
								replay/camera: fix incorrect console output ( #22491 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5527736df6 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: simplify seek&merge ( #22463 )  
							
							... 
							
							
 
							
							* simplify seek&merge
* update test cases
update test cases
* cleanup test cases
* new function currentSeconds
* add TODO
* thread safe publishFrame
* cleanup
* fix 'at x S' not printed if seek back to old time
* exit replay if failed to load route
* move out setCurrentSegment from if statement
* cleanup
* use std::find
* const variables 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								188b634222 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: print current time when paused ( #22468 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f7cf4be995 
								
									
								
							
								 
							
						 
						
							
							
								
								repaly: stop publish socket on multiple publishers error ( #22449 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								261d51de41 
								
									
								
							
								 
							
						 
						
							
							
								
								test_replay: temporarily comment out some unit tests ( #22447 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b5988d5601 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: cleanup output ( #22434 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								60b0c43c90 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: refresh segment window after current segment is changed by seek ( #22436 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								97fc8b941e 
								
									
								
							
								 
							
						 
						
							
							
								
								FrameReader: increase probesize to 10MB ( #22437 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								94afd0ea0f 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: do not use OpenCL ( #22431 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2253cba98b 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: graceful shutdown ( #22280 )  
							
							... 
							
							
 
							
							* graceful shutdown
* reset termios
* continue
* call clear in dctor
* unpause
* delete vipc_server
* relase context
* notify_one
* merge master
* merge master
* print vipc stop listen before shutdown down 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								29b9c8f13b 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: cleanup console output ( #22410 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1eb79d7a59 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: publish all frames in CameraServer ( #22378 )  
							
							... 
							
							
 
							
							* cameraserver
* support yuv
* init camera server in start()
* trigger ci 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fd801c454a 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: get socket name from capnp::Schema ( #22367 )  
							
							... 
							
							
 
							
							* get socket name from canp::Schema
* use vector 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d28b98c602 
								
									
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fa8ddd992d 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: more robust seek ( #22375 )  
							
							... 
							
							
 
							
							* skip invalid segment
* test seek
* fix wrong cur_mono_time when route_start_ts is 0
* don't notify stream thread if current segment not merged
* continue merge next segment if current is invalid
* cleanup seekTo
* continue
* fix seek cross-boundary
* new demo route has 11 segments
* continue
* fix cross-boundary
* cleanup & better test cases
cleanup
remoe &
typo
update comment
* update test
* reserve space for new_events
* parallel sorting
* usleep(0)
* Revert "parallel sorting"
This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a6da064a93 
								
									
								
							
								 
							
						 
						
							
							
								
								replay/segment: std::atomic member variables ( #22409 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4c7acf680c 
								
									
								
							
								 
							
						 
						
							
							
								
								C++ replay cache folder path / fix ( #22396 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dd67dc6b34 
								
									
								
							
								 
							
						 
						
							
							
								
								update demo route ( #22381 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b7c64542f4 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: fall back to qlog ( #22362 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6881688af2 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: send frames based on encodeIdx packet ( #22361 )  
							
							... 
							
							
 
							
							* send frames based on encodeIdx
* use start of frame time if set
* also use end of frame if set
* fix timestamp for encode packets
* handle all cameras
* add comment
* add twice 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								318a8ba854 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay:  more accurate sleep ( #22348 )  
							
							... 
							
							
 
							
							* precise sleep
* cleanup
* continue 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a548d4b5b8 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: improve seeking&updating events ( #22319 )  
							
							... 
							
							
 
							
							* improve seeking
* qDebug
* cleanup
* wait on cv
robust
* Trailing underscores for member variables
* group log variables
* small cleanup,remove unnecess std::atomic
* remove debug output
* fix seek problem
* add comment
* better lambda
* faster seek.don't block stream thread if segment already loaded
* remove assert 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4e6ff308a8 
								
									
								
							
								 
							
						 
						
							
							
								
								c++ replay: chunking and concurrent downloads ( #22308 )  
							
							... 
							
							
 
							
							* download segment files by chunks in multiple threads
* remove easy_handl on aborting
* add test cases
* better error handling
* update test
* cleanup
* add CURLGlobalInitializer
* check http code
* finish 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e888a7e939 
								
									
								
							
								 
							
						 
						
							
							
								
								load d/e camera by command line flags ( #22341 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dff6dbfbe9 
								
									
								
							
								 
							
						 
						
							
							
								
								rename filereader.cc[h] to logreader.cc[h] ( #22279 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ec67d2b8f5 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: pause/resume using spacebar  ( #22278 )  
							
							... 
							
							
 
							
							* pause/resume using spacebar
* Update selfdrive/ui/replay/replay.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								50ae7dd6a9 
								
									
								
							
								 
							
						 
						
							
							
								
								replay improvements ( #22203 )  
							
							... 
							
							
 
							
							* refactor replay
* cleanup
small cleanup
* merge 22239
* cleanup
* add optional argument for start time
* small cleaup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8eb92a98ba 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: don't splits empty strings ( #22271 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								cb49ceabf0 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: remove array subscript ( #22268 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f49e7629ee 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: add nice arg parser ( #22264 )  
							
							... 
							
							
 
							
							* replay: add nice arg parser
* demo
* cleanup 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f5aa3a30c9 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: thread-safe seek ( #22228 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8d554abbf7 
								
							
								 
							
						 
						
							
							
								
								demo route note in replay  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a89bdb6a05 
								
									
								
							
								 
							
						 
						
							
							
								
								fix Replay::mergeEvents: use std::end()  ( #22215 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								365e8bfd93 
								
									
								
							
								 
							
						 
						
							
							
								
								replay: unlock mutex before sleep ( #22213 )  
							
							
 
							
						 
						
							4 years ago