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
Willem Melching
9c771b45fc
ui: make OpenGL context current before connecting to VisionIPC
4 years ago
Dean Lee
a6da064a93
replay/segment: std::atomic member variables ( #22409 )
4 years ago
Adeeb Shihadeh
c11be0f49a
update useradmin url
4 years ago
grekiki
4c7acf680c
C++ replay cache folder path / fix ( #22396 )
4 years ago
Adeeb Shihadeh
23ae67bbf9
UI: auto wide detection on PC ( #22392 )
...
* UI: auto wide detection on PC
* invert width
* cleanup
4 years ago
Jason Wen
e797439c5f
UI: whitespace fix ( #22383 )
4 years ago
Adeeb Shihadeh
45409cb4fe
UI: big pairing QR code ( #22384 )
4 years ago
Willem Melching
a31c6ce3f9
tools: make auth optional for public routes ( #22386 )
...
* tools: make auth optional for public routes
* handle 403
* show warning from c++ replay
4 years ago
Adeeb Shihadeh
dd67dc6b34
update demo route ( #22381 )
4 years ago
Willem Melching
b7c64542f4
replay: fall back to qlog ( #22362 )
4 years ago
Willem Melching
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
Dean Lee
318a8ba854
c++ replay: more accurate sleep ( #22348 )
...
* precise sleep
* cleanup
* continue
4 years ago
Dean Lee
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
Dean Lee
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
Dean Lee
e888a7e939
load d/e camera by command line flags ( #22341 )
4 years ago
Adeeb Shihadeh
0d0aad05ce
setup: add low voltage warning ( #22342 )
...
* setup: add low voltage warning
* read voltage
* fix path
4 years ago
cydia2020
70e1c9c40c
UI: Fix mph and wi-fi spelling ( #22334 )
...
* display WiFi as Wi-Fi
* fix typo in metric setting description
4 years ago