Dean Lee
2773ff5ace
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
4 years ago
Dean Lee
41e5e76596
replay: fixed the alignment issue when replaying from C3 qcamera ( #22734 )
...
* fix qcamera replay
* fix alignment in replay
* upscale yuv if needed
* remove space
4 years ago
Willem Melching
25e4e94691
PyQt demo app ( #21625 )
...
* build python helpers lib
* call setMainWindow from python
* put in helper lib
* linter
* move to scripts
4 years ago
Dean Lee
d70e49dca5
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>
4 years ago
Dean Lee
921600b95c
framereader: use swscale to handle the YUV conversion ( #22710 )
4 years ago
Dean Lee
3b936aaca9
remove unused signal displayPowerChanged ( #22719 )
4 years ago
Adeeb Shihadeh
e33cd47b5c
UI: add opensans semibold
4 years ago
Willem Melching
d4433cc2d8
nav: support multiple banners in route segment ( #22722 )
4 years ago
Willem Melching
0ba40954b9
maps: allow using MAPBOX_TOKEN env variable ( #22721 )
4 years ago
Dean Lee
3f4cc9a246
Qt/CommaApi: cache private key ( #22715 )
...
* cache private key
* space
* no need to check mtime
* call_once
* simplify
4 years ago
Adeeb Shihadeh
950acb476c
add inter fonts to assets ( #22704 )
4 years ago
Adeeb Shihadeh
23d6aeb4b7
installer: init submodules for all builds
4 years ago
Adeeb Shihadeh
f4c2398db4
add sdcard support ( #22703 )
...
* generalize
* factory reset
4 years ago
Willem Melching
cca07c0c73
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
4 years ago
Adeeb Shihadeh
b5960b9dc8
move nose tests to unittest ( #22665 )
...
* move to unittest
* boardd loopback
* no more nose
* phone only
* fix panda decorator
4 years ago
Dean Lee
af7dba9250
replay: use an enum for flags ( #22635 )
...
* enum flags
* continue
* remove yuv flag for now
4 years ago
Adeeb Shihadeh
7f3904ee8e
UI: increase camera view update frequency
4 years ago
Adeeb Shihadeh
84d5adedd8
UI: fix fcc.html when using QRC
4 years ago
Adeeb Shihadeh
4749815419
little sound tester
4 years ago
Adeeb Shihadeh
c4de1fef4f
UI: don't block UI on vipc recv ( #22644 )
...
* UI: don't block UI on vipc recv
* use a timer
* move that
4 years ago
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