Dean Lee
317deeae84
replay: improve seeking, queuing segments ( #22625 )
...
* improve seeking, queuing segments
* cleanup,init current_segment_ to 0
* use isSegmentLoaded
* remove to isSegmentMerged
4 years ago
Dean Lee
702fc5850c
replay: fix replay looping ( #22618 )
4 years ago
Dean Lee
107ed35d1e
replay: parse route string, replay from the specified segment ( #22503 )
...
* parse segment name
* return 0
* update regexp
* with |
* dd
* use struct
* move to class Route
* refactor loadFromLoacal
* simplify loadFromJson
* cleanup load from server
* const ref
4 years ago
Dean Lee
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
Willem Melching
e5e90aeae5
replay: improve download prints
4 years ago
Dean Lee
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
Dean Lee
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
Dean Lee
ccc07db1ee
replay: just load one segment to start replaying ( #22598 )
4 years ago
Dean Lee
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
Dean Lee
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
Dean Lee
c73d9ddaa6
replay: fix hanging on shutdown while downloading ( #22592 )
4 years ago
Dean Lee
5735d69d47
CameraView: fix possible crash on 'fit in widget' mode ( #22594 )
4 years ago
Dean Lee
085c424cf9
framereader: remove swscale ( #22578 )
4 years ago
lipniak
df9492d1e1
UI: add missing header to fix Ubuntu 21 build ( #22577 )
...
Co-authored-by: predicate@bonzo <noreply@example.com>
4 years ago
Comma Device
d4b35dc130
installer: fetch all for internal installer
4 years ago
Dean Lee
ae5eedb0b1
Replay/framereader: fix c3 qcamera padding problem ( #22572 )
4 years ago
Dean Lee
47ce0b4cd2
replay: added a missing #include <array> on Mac ( #22573 )
4 years ago
Dean Lee
20b0ae0e65
replay: fix possible segfault in CameraServer ( #22556 )
4 years ago
Dean Lee
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
Dean Lee
3de2cd897b
watch3: fix layout warning ( #22566 )
4 years ago
ZwX1616
8574e79fec
wider FOV DM on comma three ( #22286 )
...
* c3 is straightforward
* c2 transform
* c3 preview
* alpha model
* Revert "alpha model": wrong quantization data
This reverts commit b50e573973
.
* yuv looks good
* a55b
* const int
* block top deadzone
* new box alpha curve
* update k
* fix debug
* rhd use same offset
* box shift for rhd
* 7e3e
* set new thresh
* update ref
* explain
* remove e2e
* same metric thresh
* process isocc
* model
* cancel extra policy
* update numbers
* new model
* update cereal
* up cereal
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Mitchell Goff
fd3fdea7b4
Use TICI intrinsics by default on PC ( #22546 )
4 years ago
Dean Lee
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
Adeeb Shihadeh
ff771d9fcf
add tool to watch all three beautiful cameras ( #22528 )
4 years ago
Adeeb Shihadeh
f1fcf17c4c
replay: support old, pre-pandaStates routes ( #22525 )
...
* replay: support old, pre-pandaStates routes
* cleanup
4 years ago
Dean Lee
c801c65b9d
replay: get EncoderIndex from capnp::AnyStruct ( #22518 )
...
* get EncoderIndex from capnp::AnyStruct
* const
4 years ago
Dean Lee
afaf235acd
UI: fix stuck in visionIPC receive timeout ( #22450 )
4 years ago
Dean Lee
537dff3ae0
replay/camera: fix incorrect console output ( #22491 )
4 years ago
Comma Device
52cd06aa62
remove semicolon
4 years ago
Willem Melching
e788f4f587
installer: leave some space after strings
4 years ago
Adeeb Shihadeh
db81bf52ea
installer: cleanup old cache paths
4 years ago
Robbe Derks
91987f38d4
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
4 years ago
Willem Melching
d898841e87
Change APN from settings ( #22440 )
...
* Change APN from settings
* subtext
* one function
* bring connection down and up
* fix adapter type
* trim input
* fix scrolling in scanning state
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
5b641379ae
phonelibs -> third_party ( #22477 )
...
* git mv to third_party
* find and replace
* fix release tests
* update pre-commit
* update tici bins
* update eon bins
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
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
Greg Hogan
188b634222
replay: print current time when paused ( #22468 )
4 years ago
Adeeb Shihadeh
e424f7182c
retry submodule checkout on internal installer
4 years ago
Dean Lee
f7cf4be995
repaly: stop publish socket on multiple publishers error ( #22449 )
4 years ago
Dean Lee
261d51de41
test_replay: temporarily comment out some unit tests ( #22447 )
4 years ago
Dean Lee
b5988d5601
replay: cleanup output ( #22434 )
4 years ago
Dean Lee
60b0c43c90
replay: refresh segment window after current segment is changed by seek ( #22436 )
4 years ago
Dean Lee
97fc8b941e
FrameReader: increase probesize to 10MB ( #22437 )
4 years ago
Willem Melching
94afd0ea0f
replay: do not use OpenCL ( #22431 )
4 years ago
Dean Lee
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
Dean Lee
29b9c8f13b
replay: cleanup console output ( #22410 )
4 years ago
Dean Lee
1eb79d7a59
c++ replay: publish all frames in CameraServer ( #22378 )
...
* cameraserver
* support yuv
* init camera server in start()
* trigger ci
4 years ago
Dean Lee
fd801c454a
c++ replay: get socket name from capnp::Schema ( #22367 )
...
* get socket name from canp::Schema
* use vector
4 years ago
Dean Lee
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
Dean Lee
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
Willem Melching
009e37e797
ui: only update ignition when panda is connected ( #22425 )
4 years ago