Commit Graph

40 Commits

Author SHA1 Message Date
Dean Lee
c0a2ce31ee replay: fix hang issue on system wake-up (#32341)
fix hang issue on system wake-up
2024-05-03 10:46:39 -07:00
Dean Lee
bbd1648f05 replay: optimize memory usage with MonotonicBuffer (#32278)
Optimize Memory Usage with MonotonicBuffe
2024-04-22 19:21:42 -07:00
Dean Lee
bab8cdfdef Cabana: bug fixes (#32272)
* Fix SIGSEGV due to thread race conditions after seeking

* adding ID as a secondary sorting factor

* fix gaps
2024-04-21 22:34:24 -07:00
Dean Lee
2c409e0980 replay: bug fixes and improvements (#32193) 2024-04-21 17:09:17 -07:00
Dean Lee
a824bd75ef replay: refactor Event to remove the readers (#32252)
Refactor struct Event to remove the MessageReader from it
2024-04-19 11:15:34 -07:00
Dean Lee
bf61e92518 cabana: gray out inactive messages (#32121)
* improve message list

remove TODO

* improve sort

* remove translate

* fix seeking issue
2024-04-09 19:39:24 -07:00
Dean Lee
0a2a3dfab7 replay/cabana : support segment range (#32026)
* support segment range

* include <QRegularExpression>
2024-03-27 09:47:18 -07:00
Dean Lee
d647361fae replay: get route datetime from INIT_DATA (#31913)
get datetime from INIT_DATA
2024-03-19 11:46:39 -07:00
Dean Lee
e79cb0edaf replay: fix segfault in Replay::queueSegment (#31902) 2024-03-17 21:55:27 -07:00
Dean Lee
c5f73a748e replay: support for setting a custom playback speed (#30462)
* support for setting a custom playback speed

* rename to playback speed
2023-11-18 22:12:35 -08:00
Dean Lee
da95fd3019 replay: simplify the code for allow/block list (#30449)
simplify allow/block list
2023-11-13 09:19:39 -08:00
Dean Lee
9e06525642 replay: remove deprecated support for PANDA_STATE_D_E_P_R_E_C_A_T_E_D (#30447) 2023-11-12 10:54:08 -08:00
Dean Lee
e287a5f164 cabana: remove the qlog parsing thread (#30319)
remove the qlog thread
2023-10-24 10:38:50 -07:00
Adeeb Shihadeh
377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Dean Lee
2cca0cbde8 replay: fix missing events before INIT_DATA (#30039)
fix missing events
2023-09-25 15:16:41 -07:00
Dean Lee
bbf133a2e5 replay: fix concurrency issues (#29797)
fix concurrency issues
2023-09-06 10:34:01 -07:00
Adeeb Shihadeh
e726505918 bump cereal (#29561) 2023-08-23 13:42:37 -07:00
Dean Lee
e8e03197ca replay: fix seekTo issue (#29422)
* fix seekTo issue

* remove extra space
2023-08-16 11:01:14 -07:00
Dean Lee
3ad434c5ca replay: emit segmentsMerged before updateEvent (#28849) 2023-07-08 17:09:54 -07:00
AlexandreSato
dc06ce7ac3 minor typo on replay.cc comment (#28692) 2023-06-25 20:24:19 +01:00
Dean Lee
bd34124a84 replay: fix timeline issues (#28501) 2023-06-11 13:41:23 -07:00
Kacper Rączy
26ad9b32f3 replay: lock uiDebug and userFlag messages behind all flag (#28349)
* Add ui-debug flag, for replaying ui debug states

* Fix flag description

* Replace --ui-debug with --all flag

* Add base_blacklist for services blacklisted by default
2023-06-02 15:17:25 -07:00
Kacper Rączy
00ff096ca2 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275) 2023-05-23 19:48:57 -07:00
Dean Lee
9b28897f09 replay: fix incorrect format string in seekTo (#27547) 2023-03-09 13:13:29 -08:00
Dean Lee
41304db1e6 cabana: syc the last messages after seeking (#27149)
* fix wrong last message time

* update last messages after seekto

* cleanup

* remove src,address from CanData

* merge master

merge master
2023-02-02 20:39:16 -08:00
Dean Lee
ceceb1c6cc replay: fix hang if started with a special segment and there is no INIT_DATA in events (#27107)
* add events if allow or block is specified

* add init_data
2023-01-30 19:23:36 -08:00
Dean Lee
b5a2dfa93e replay: only keep one init_data in merged events (#26863)
don't merge init_data
2023-01-02 11:57:51 -08:00
Dean Lee
f49520db0f Cabana: display all logs in log view (#26659)
* fetch more

* clear log in showevent

* fix wrong time value

* check list size

* fix canmessages::process

* cache all events

* improve segment cache

* cleanup
2022-12-12 14:47:45 -08:00
Dean Lee
881c15c2a6 Replay: fix possible segfault on exit (#26768) 2022-12-12 10:25:49 -08:00
Dean Lee
0ff703d82f Replay: fix SEGFAULT in buildTimeline if segments are not continuous. (#26691)
fix segfault in buildtimeline
2022-12-04 11:28:40 -08:00
Dean Lee
2b4b0cc67f Replay: fixed the freq of video and events are unstable after changing the replay speed (#26559)
fix freq is unstable after changing the replay speed
2022-11-21 10:47:58 -08:00
Dean Lee
b31932382d cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
2022-10-12 19:31:26 -07:00
Dean Lee
750b96aaed cabana: improve time control (#25985)
* group signals/slots together

* slider:fix wrong minimum

* add TODO

* moveing to mouse click position

* show tickmark

* fix seek back to the old pos after sliderReleased

* reduce data copied in queued connection

* drop packets while seeking

* install event filter in streaming

* stop replay in dctor
2022-10-06 15:02:22 -07:00
Dean Lee
a6ba073231 canbana: complete basic functions (#25965)
* add chart header

* get all signal val from logs

* loop in selected range

* clear list before append

* automatically zoom on yaxis

* cleanup

* sync charts

* fix event_begin_sec

* set the color of rubber

* add TODO

* sync slider with charts

* keep video aspect ratio

* sync plot buttons

* reduce flickers

* cleanup

* refactor detail view

* clear counters

* more

use qcamera
2022-10-05 21:17:22 -07:00
Dean Lee
1b8324af87 c++ cabana: Initial version (#25946)
* draft

* continue

* fix QChart unresponsive with large points

* build with --extras

* add filter

* save DBC button

* more buttons

* add flag to use qcamera

* stop replay in dctor

* README

* use getMsg

* video control

* edit signal

* add colors

* correct ts

* add/edit signals

* use bus:address as key
2022-10-03 15:19:42 -07:00
Shane Smiskol
26517a0ef9 replay: set CarParamsPersistent 2022-09-26 23:50:49 -07:00
Dean Lee
75c434bde7 replay: add shortcuts for seeking to the next info, warning, and critical alerts (#25576) 2022-09-05 14:11:32 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Cameron Clough
b3cfe962cf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-22 21:47:09 -07:00
Dean Lee
fd5b3d7603 move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
2022-06-28 16:12:42 +02:00