Dean Lee
5f454307fc
replay: fix qcam download error ( #22777 )
...
* fix qcam download error
* test loading qlog/qcamera
old-commit-hash: 79651b6c49
4 years ago
Dean Lee
526cfdd0fb
replay: print colored text ( #22771 )
...
old-commit-hash: 09858f7f6f
4 years ago
Dean Lee
07ffd9c095
replay: fix frame lag when replaying to the next segment ( #22773 )
...
old-commit-hash: 0a5ca71603
4 years ago
Willem Melching
86e72f88c3
framereader.cc: better avformat_open_input error printing
...
old-commit-hash: f8d050298e
4 years ago
Dean Lee
993aa64067
replay: fix hanging on exit if stream thread has not been started yet ( #22770 )
...
old-commit-hash: 6f78cc77fc
4 years ago
Dean Lee
a031b938b0
replay: improve segment download and merge ( #22654 )
...
* no-cache mode
* fix test cases build error
* space
* don't create cache dir in no-cache mode
* fix errors in test cases
* no_local_cache_
* set the number of connections by chunk_size
* use size_t instead of int64_t
* add test case for no-cache mode
* rename variables
* fix SIGSEGV
* cleanup
* faster decompressBZ2
* always decompress bz2
* add test cases
* prepare for python interface
* fix test cases build error
* continue
* camera_replay: cache remote file
* protected inheritance
* single option name
* TODO
* test_case for LogReader&FrameReader
* fix wrong require
* test case for FileReader
* cleanup test
* test:fix wrong filename
* check cached file's checksum
* fix mkdir permissions err
cleanup filereader
* remove initialize libav network libraries.
dd
* abort all loading if one failed
* cleanup tests
* use threadpool to limit concurrent downloads
* cache more segments
* merge 3 segments for replay
* one segment uses about 100M of memory
* use segments_need_merge.size()
* shutdown
* fix stuck if exit replay before keyboard thread started
* load one segment at a time
* small cleanup
* cleanup filereader
* space
* tiny cleanup
* merge master
* cleanup test cases
* use util:create_directories
* cleanup framereader
old-commit-hash: 2b4a477fbc
4 years ago
Dean Lee
40b2bb9f65
params: code cleanup ( #22744 )
...
* cleanup params
* apply review
* continue
* use c_str
* cleanup filelock
* don't check return code of close()
* remove call_once
* cleanup params_pyx
* cleanup comment
old-commit-hash: 2773ff5ace
4 years ago
Dean Lee
15ed1a50a3
replay: fixed the alignment issue when replaying from C3 qcamera ( #22734 )
...
* fix qcamera replay
* fix alignment in replay
* upscale yuv if needed
* remove space
old-commit-hash: 41e5e76596
4 years ago
Willem Melching
0d035f6898
PyQt demo app ( #21625 )
...
* build python helpers lib
* call setMainWindow from python
* put in helper lib
* linter
* move to scripts
old-commit-hash: 25e4e94691
4 years ago
Dean Lee
af7c9ccf6f
replay: build on devices ( #22632 )
...
* there is no QThread::create on device
* add files to files_common
* modify SConscript
* no memory_resouce on device
* #define HAS_MEMORY_RESOURCE
* fix hangs on shutdown
* build on device with the --extra flag
* delete later
* setup -> extras
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d70e49dca5
4 years ago
Dean Lee
c742e81f3e
framereader: use swscale to handle the YUV conversion ( #22710 )
...
old-commit-hash: 921600b95c
4 years ago
Dean Lee
da6ebc2f9d
remove unused signal displayPowerChanged ( #22719 )
...
old-commit-hash: 3b936aaca9
4 years ago
Adeeb Shihadeh
72d7b40eec
UI: add opensans semibold
...
old-commit-hash: e33cd47b5c
4 years ago
Willem Melching
82ebe9f0ee
nav: support multiple banners in route segment ( #22722 )
...
old-commit-hash: d4433cc2d8
4 years ago
Willem Melching
8d9783a379
maps: allow using MAPBOX_TOKEN env variable ( #22721 )
...
old-commit-hash: 0ba40954b9
4 years ago
Dean Lee
fd2bc4ce18
Qt/CommaApi: cache private key ( #22715 )
...
* cache private key
* space
* no need to check mtime
* call_once
* simplify
old-commit-hash: 3f4cc9a246
4 years ago
Adeeb Shihadeh
95f5cabc04
add inter fonts to assets ( #22704 )
...
old-commit-hash: 950acb476c
4 years ago
Adeeb Shihadeh
2e995ea41a
installer: init submodules for all builds
...
old-commit-hash: 23d6aeb4b7
4 years ago
Adeeb Shihadeh
4099783375
add sdcard support ( #22703 )
...
* generalize
* factory reset
old-commit-hash: f4c2398db4
4 years ago
Willem Melching
8a0c57433e
navigation: use mapbox proxy server ( #22660 )
...
* use mapbox proxy
* remove MapboxToken param
* do not log jwt
* remove import
* move to staging url
* put has_prime in ui state
* logic was flipped
* Update selfdrive/ui/qt/maps/map.h
old-commit-hash: cca07c0c73
4 years ago
Adeeb Shihadeh
c9ebc1c442
move nose tests to unittest ( #22665 )
...
* move to unittest
* boardd loopback
* no more nose
* phone only
* fix panda decorator
old-commit-hash: b5960b9dc8
4 years ago
Dean Lee
6e0853986f
replay: use an enum for flags ( #22635 )
...
* enum flags
* continue
* remove yuv flag for now
old-commit-hash: af7dba9250
4 years ago
Adeeb Shihadeh
1d1c7e9c64
UI: increase camera view update frequency
...
old-commit-hash: 7f3904ee8e
4 years ago
Adeeb Shihadeh
f2e9540b73
UI: fix fcc.html when using QRC
...
old-commit-hash: 84d5adedd8
4 years ago
Adeeb Shihadeh
e042ec84be
little sound tester
...
old-commit-hash: 4749815419
4 years ago
Adeeb Shihadeh
4e005ead0a
UI: don't block UI on vipc recv ( #22644 )
...
* UI: don't block UI on vipc recv
* use a timer
* move that
old-commit-hash: c4de1fef4f
4 years ago
Dean Lee
c35975072e
replay: improve seeking, queuing segments ( #22625 )
...
* improve seeking, queuing segments
* cleanup,init current_segment_ to 0
* use isSegmentLoaded
* remove to isSegmentMerged
old-commit-hash: 317deeae84
4 years ago
Dean Lee
3542dfeacd
replay: fix replay looping ( #22618 )
...
old-commit-hash: 702fc5850c
4 years ago
Dean Lee
ea6ee497e5
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
old-commit-hash: 107ed35d1e
4 years ago
Dean Lee
ed5bd9719b
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
old-commit-hash: 4678903a61
4 years ago
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
4f44e47aa1
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
old-commit-hash: 0189a19b8e
4 years ago
Dean Lee
26d7db6649
replay: just load one segment to start replaying ( #22598 )
...
old-commit-hash: ccc07db1ee
4 years ago
Dean Lee
e88d98223b
replay: allocate events in contiguous memory pool ( #22535 )
...
* memory pool
* reserve events too
* remove dctor
* cleanup
* move pool into class LogReader
* cleanup include
old-commit-hash: 94b3d4d267
4 years ago
Dean Lee
5afb4b9731
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
old-commit-hash: f6de10b55a
4 years ago
Dean Lee
c39afc1b7a
replay: fix hanging on shutdown while downloading ( #22592 )
...
old-commit-hash: c73d9ddaa6
4 years ago
Dean Lee
457266ce89
CameraView: fix possible crash on 'fit in widget' mode ( #22594 )
...
old-commit-hash: 5735d69d47
4 years ago
Dean Lee
5873c32178
framereader: remove swscale ( #22578 )
...
old-commit-hash: 085c424cf9
4 years ago
lipniak
69fb512da8
UI: add missing header to fix Ubuntu 21 build ( #22577 )
...
Co-authored-by: predicate@bonzo <noreply@example.com>
old-commit-hash: df9492d1e1
4 years ago
Comma Device
c28abda1d2
installer: fetch all for internal installer
...
old-commit-hash: d4b35dc130
4 years ago
Dean Lee
37212cdd24
Replay/framereader: fix c3 qcamera padding problem ( #22572 )
...
old-commit-hash: ae5eedb0b1
4 years ago
Dean Lee
4e2be9ccda
replay: added a missing #include <array> on Mac ( #22573 )
...
old-commit-hash: 47ce0b4cd2
4 years ago
Dean Lee
50cf6fd948
replay: fix possible segfault in CameraServer ( #22556 )
...
old-commit-hash: 20b0ae0e65
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
b87ec5ad68
watch3: fix layout warning ( #22566 )
...
old-commit-hash: 3de2cd897b
4 years ago
ZwX1616
d4cbef299b
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>
old-commit-hash: 8574e79fec
4 years ago
Mitchell Goff
075d7a85a0
Use TICI intrinsics by default on PC ( #22546 )
...
old-commit-hash: fd3fdea7b4
4 years ago
Dean Lee
06a1dd7598
c++ replay: support local routes ( #22288 )
...
* support local route
* kind of works
* works
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 43a846843f
4 years ago
Adeeb Shihadeh
65556ea816
add tool to watch all three beautiful cameras ( #22528 )
...
old-commit-hash: ff771d9fcf
4 years ago