Willem Melching
03ed20610b
replay: improve download prints
...
old-commit-hash: e5e90aeae5f1c05a50eac3ccc4f2e19d56c18bdc
2021-10-19 12:48:38 +02:00
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: 8d1d0c2cd715638b9b0fd8b3cd692bdfd2474ea9
2021-10-19 12:33:12 +02:00
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: 0189a19b8ebd18d9155328204da550c7ff1715f4
2021-10-18 14:19:23 -07:00
Dean Lee
26d7db6649
replay: just load one segment to start replaying ( #22598 )
...
old-commit-hash: ccc07db1eebe0fb9077bf4bcd0f35af520f59037
2021-10-18 12:03:34 -07:00
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: 94b3d4d26745bb2b982da064230155698d61cf44
2021-10-18 11:10:08 +02:00
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: f6de10b55a089a0600dd9826ffa3bfc140752370
2021-10-18 11:05:03 +02:00
Dean Lee
c39afc1b7a
replay: fix hanging on shutdown while downloading ( #22592 )
...
old-commit-hash: c73d9ddaa61af2e04146e9be5c51f80dc7450f09
2021-10-18 11:03:30 +02:00
Dean Lee
457266ce89
CameraView: fix possible crash on 'fit in widget' mode ( #22594 )
...
old-commit-hash: 5735d69d47a1de021e2949b192ffdda7a9144aab
2021-10-18 11:02:08 +02:00
Dean Lee
5873c32178
framereader: remove swscale ( #22578 )
...
old-commit-hash: 085c424cf923f8a2886dbfaf7be71b1c38d28101
2021-10-16 13:56:04 -07:00
lipniak
69fb512da8
UI: add missing header to fix Ubuntu 21 build ( #22577 )
...
Co-authored-by: predicate@bonzo <noreply@example.com >
old-commit-hash: df9492d1e118aa610d355a7220fdeaeef46efdc1
2021-10-16 13:30:14 -07:00
Comma Device
c28abda1d2
installer: fetch all for internal installer
...
old-commit-hash: d4b35dc130f51b08c58d8f9779408dc4324cb029
2021-10-16 13:17:51 -07:00
Dean Lee
37212cdd24
Replay/framereader: fix c3 qcamera padding problem ( #22572 )
...
old-commit-hash: ae5eedb0b1ab295881750f005230a195aa2f8d26
2021-10-16 12:24:34 -07:00
Dean Lee
4e2be9ccda
replay: added a missing #include <array> on Mac ( #22573 )
...
old-commit-hash: 47ce0b4cd2df77a1583aaac2a4143bdc3e05f047
2021-10-16 09:02:19 -07:00
Dean Lee
50cf6fd948
replay: fix possible segfault in CameraServer ( #22556 )
...
old-commit-hash: 20b0ae0e65c9e5237a6b9f89329d31254ffab20e
2021-10-15 15:34:54 -07:00
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: acc52ece20cd5b152d2a439c5c01c9498182f089
2021-10-15 14:35:17 -07:00
Dean Lee
b87ec5ad68
watch3: fix layout warning ( #22566 )
...
old-commit-hash: 3de2cd897b4b4d4e4ccc7c4718d8d161ecee808b
2021-10-15 00:28:26 -07:00
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 b50e5739735b30d960aca22bcf3cbe23b0121e13.
* 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: 8574e79fecff6dba6c68486b627c73499d4b3d03
2021-10-13 17:00:46 -07:00
Mitchell Goff
075d7a85a0
Use TICI intrinsics by default on PC ( #22546 )
...
old-commit-hash: fd3fdea7b4f811038c3e1145d283b0f7e15a90f0
2021-10-13 12:44:36 -07:00
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: 43a846843f1a8af33c21afb10195899e8880d775
2021-10-12 00:51:22 -07:00
Adeeb Shihadeh
65556ea816
add tool to watch all three beautiful cameras ( #22528 )
...
old-commit-hash: ff771d9fcfb87ab03fb78d3f66da94eef23dfb59
2021-10-12 00:23:31 -07:00
Adeeb Shihadeh
6472b5b6c9
replay: support old, pre-pandaStates routes ( #22525 )
...
* replay: support old, pre-pandaStates routes
* cleanup
old-commit-hash: f1fcf17c4cde07c07cea7b6be68a5f845ce039e9
2021-10-11 15:58:44 -07:00
Dean Lee
f0d16395b7
replay: get EncoderIndex from capnp::AnyStruct ( #22518 )
...
* get EncoderIndex from capnp::AnyStruct
* const
old-commit-hash: c801c65b9dbf83dde9c15317da78f113f3ee6acb
2021-10-11 09:57:35 -07:00
Dean Lee
96a8d9dd3e
UI: fix stuck in visionIPC receive timeout ( #22450 )
...
old-commit-hash: afaf235acd533e9c105925caab1e872ee3d3457b
2021-10-09 14:43:27 -07:00
Dean Lee
3f5c7afba3
replay/camera: fix incorrect console output ( #22491 )
...
old-commit-hash: 537dff3ae0bac7ca3d40f1441297cc146dc1a9bb
2021-10-08 19:51:23 -07:00
Comma Device
358547e114
remove semicolon
...
old-commit-hash: 52cd06aa62a5bfc6bd6d363381f7df608cdd4a4d
2021-10-08 12:21:47 -07:00
Willem Melching
456faf16ab
installer: leave some space after strings
...
old-commit-hash: e788f4f587be91fdd1bcae89078fcea788d6a13d
2021-10-08 11:27:54 -07:00
Adeeb Shihadeh
87be9258b1
installer: cleanup old cache paths
...
old-commit-hash: db81bf52ea861cc36ea7151ae87b847c07fcb7f9
2021-10-08 10:42:41 -07:00
Robbe Derks
58c99158a1
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
old-commit-hash: 91987f38d425e2a5dc61d09571933cffb9536113
2021-10-08 17:54:34 +02:00
Willem Melching
1c5ffc32ea
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 >
old-commit-hash: d898841e87d548cd057a7546b1c28be36eab0f1a
2021-10-07 23:47:23 -07:00
Adeeb Shihadeh
782d7023d2
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 >
old-commit-hash: 5b641379ae04d3408093381629b9d60dee81da27
2021-10-07 16:32:44 -07:00
Dean Lee
0f49ecbff7
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
old-commit-hash: 5527736df6ffb1f94be48d6a84245165fdf0cac0
2021-10-07 17:32:16 +02:00
Greg Hogan
95843a6754
replay: print current time when paused ( #22468 )
...
old-commit-hash: 188b634222bb97af08afe4a37028a5e9b64d499b
2021-10-07 10:41:49 +02:00
Adeeb Shihadeh
ae93956547
retry submodule checkout on internal installer
...
old-commit-hash: e424f7182cb01bb4341849aba5be2cb0583fcc72
2021-10-06 19:45:22 -07:00
Dean Lee
7d67bfa606
repaly: stop publish socket on multiple publishers error ( #22449 )
...
old-commit-hash: f7cf4be9958b720b8d072e44c754a058a38045dc
2021-10-06 14:04:51 +02:00
Dean Lee
d6614c3c89
test_replay: temporarily comment out some unit tests ( #22447 )
...
old-commit-hash: 261d51de414b9cb1001639e513b8182ac3682e33
2021-10-06 12:27:52 +02:00
Dean Lee
11014ca940
replay: cleanup output ( #22434 )
...
old-commit-hash: b5988d56013f05429e03c79621be9e15ad3e0806
2021-10-05 15:15:46 +02:00
Dean Lee
3df339e1ed
replay: refresh segment window after current segment is changed by seek ( #22436 )
...
old-commit-hash: 60b0c43c9061467e81d6bf3d35fb2a67c8d48f70
2021-10-05 15:15:33 +02:00
Dean Lee
38617c6c8f
FrameReader: increase probesize to 10MB ( #22437 )
...
old-commit-hash: 97fc8b941e6144a395a93c09a0c90c53a8311d88
2021-10-05 15:15:11 +02:00
Willem Melching
2291683728
replay: do not use OpenCL ( #22431 )
...
old-commit-hash: 94afd0ea0f8bc17fc9d24e122f6447116ca75525
2021-10-04 19:43:52 +02:00
Dean Lee
7b3200362b
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
old-commit-hash: 2253cba98bcc1cf5799567fc9050f10871ddce1d
2021-10-04 18:00:49 +02:00
Dean Lee
53bec066b6
replay: cleanup console output ( #22410 )
...
old-commit-hash: 29b9c8f13bf7c56c31289c35095dc73057267903
2021-10-04 17:15:03 +02:00
Dean Lee
a8c5acb884
c++ replay: publish all frames in CameraServer ( #22378 )
...
* cameraserver
* support yuv
* init camera server in start()
* trigger ci
old-commit-hash: 1eb79d7a59a36e75ef2ccb1a8b1cea084784fc43
2021-10-04 16:45:28 +02:00
Dean Lee
2dc5a00e3d
c++ replay: get socket name from capnp::Schema ( #22367 )
...
* get socket name from canp::Schema
* use vector
old-commit-hash: fd801c454abd302e6731fa9abbbc3d4cf74b6646
2021-10-04 15:44:06 +02:00
Dean Lee
66ca3985c9
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
old-commit-hash: d28b98c60244e2bb9e32810e881ea445a912606c
2021-10-04 15:39:59 +02:00
Dean Lee
430e9808b3
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.
old-commit-hash: fa8ddd992d6838e0e8f0f1178c26ec272c40f943
2021-10-04 15:00:57 +02:00
Willem Melching
a16e2fba2a
ui: only update ignition when panda is connected ( #22425 )
...
old-commit-hash: 009e37e797425581c3f5cb787700a95a14a8a8f7
2021-10-04 14:11:32 +02:00
Willem Melching
10d0b511b5
ui: make OpenGL context current before connecting to VisionIPC
...
old-commit-hash: 9c771b45fcb56197f5f0680690c372199736fb87
2021-10-04 10:37:31 +02:00
Dean Lee
0a1fa4fa7b
replay/segment: std::atomic member variables ( #22409 )
...
old-commit-hash: a6da064a93691779a7367e10487c2837a01cd8af
2021-10-02 16:09:39 +02:00
Adeeb Shihadeh
408273df05
update useradmin url
...
old-commit-hash: c11be0f49a848ba36a183172038b661a554d2a15
2021-10-01 17:36:46 -07:00
grekiki
2ea151be3c
C++ replay cache folder path / fix ( #22396 )
...
old-commit-hash: 4c7acf680cc29537ad73a51f8ce32253306cac15
2021-10-01 17:32:41 +02:00