Commit Graph

155 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7949dfe796 bump panda (#29234)
* bump panda

* bump
2023-08-04 11:09:20 -07:00
Shane Smiskol
acc732efbb replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
2023-08-03 13:18:44 -07:00
Mitchell Goff
f0ae0c34cd Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
2023-07-25 01:08:39 -07:00
Harald Schäfer
ca699e3989 radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
2023-07-19 20:31:40 -07:00
Dean Lee
3ad434c5ca replay: emit segmentsMerged before updateEvent (#28849) 2023-07-08 17:09:54 -07:00
Dean Lee
059529cae2 cabana: improve timeline (#28801) 2023-07-04 12:03:08 -07:00
Qi Liu
aa85fed91d replay: fix segfault caused by pointer usage after freeing (#28779) 2023-07-01 23:01:47 -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
Dean Lee
3a3e38e425 replay: Improve the performance of the log parser (#28495) 2023-06-11 08:28:30 -07:00
Dean Lee
67b27b7496 replay: fixed incorrect totalSeconds when there are invalid segments in route (#28388) 2023-06-03 11:43:27 -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
Adeeb Shihadeh
e3bd28bddf tools: improved CAN replay (#27975) 2023-04-19 11:46:22 -07:00
Angus Gratton
ed6e7db3cf replay framereader: Log in some unlikely failure paths (#27942) 2023-04-18 12:17:45 -07:00
Dean Lee
74db5a4b42 cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) (#27601)
* refactor streams

* helper function xLessThan

* fix fill gaps
2023-03-17 10:16:14 -07:00
Dean Lee
9b28897f09 replay: fix incorrect format string in seekTo (#27547) 2023-03-09 13:13:29 -08:00
Dean Lee
6c4320559a replay: fixed the status is always "loading" if there is no carState in events (#27481) 2023-03-02 22:30:12 -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
a421c9464e replay: sync vision buffer (#26904) 2023-01-09 13:48:04 -08:00
Dean Lee
2204a7153f replay: remove need for fake dongle id (#26899) 2023-01-08 15:51:08 -08:00
Dean Lee
2c7df6efc8 replay: show absolute time (#26869) 2023-01-07 11:07:30 -08:00
Dean Lee
88fd2ea84f replay: add option --prefix to set OPENPILOT_PREFIX (#26862) 2023-01-02 13:31:08 -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
6431f79fd2 Replay: add option -c to set segment cache size (#26782)
add option to set cache size
2022-12-13 00:20: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
Shane Smiskol
df6bd0f392 cleanup: deprecate lqrState field (#26745)
* first commit

* clean up

* bump cereal

* revert angle controller

* revert

* clean up

* revert

* bump

* bumptomaster
2022-12-09 18:43:45 -08:00
Dean Lee
b513b83221 Replay: remove wrong text in TIME (#26692)
remove wrong time string
2022-12-04 11:30:31 -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
062267f469 replay: reduce test running time (#26160) 2022-10-23 13:57:32 -07:00
Adeeb Shihadeh
755a6c0a46 Revert "tools/replay: reduce test running time (#26110)"
This reverts commit 6d07268ee5.
2022-10-17 19:15:21 -07:00
Dean Lee
6d07268ee5 tools/replay: reduce test running time (#26110) 2022-10-17 10:39:07 -07: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
Cameron Clough
8b5ebbddf6 build extras together (#26051)
* build extras together

* don't check here either
2022-10-12 15:14:02 -07:00
Dean Lee
0fa1588f6c Cabana: stable initial release (#26004)
* increase form size & fix wrong charts number

* set max axisy to 1.0 if no value

* show 'close' button in floating window

* alwasy show scroll bar

* complete the logs

* more

* increase size to 50

* keep logs for all messages

* more

* rename signal

* better height

* avoid flicker

* dont call setupdatesenabled

* filter dbc files bye typing

* remove all charts if dbc file changed

* fix wrong idx

* bolder dbc filename

* update chart if signal has been edited

* new signals signalAdded,signalUpdated

* split class Parser into CanMessages and DBCManager

* cleanup

* updateState after set message

* cleanup

* emit msgUpdated

* clear history log if selected range changed

* always update time

* change title layout

* show selected range

hide title bar if no charts

less space between title and chart

* custome historylogmodel for extreme fast update

* move historylog to seperate file

* 2 decimal

* cleanup

cleanup

* left click on the chart to set start time

* todo

* show tooltip for header item&cleanup binaryview

add hline to signal form

* better paint

* cleanup signals/slots

* better range if min==max

* set historylog's minheight to 300

* 3x faster,sortable message list.

* zero copy in queued connection

* proxymodel

* clear log if loop to the begin

* simplify history log

* remove icon

* remove assets

* hide linemarker on initialization

* rubber width may less than 0

* dont zoom char if selected range is too small

* cleanup messageslist

* don't zoom chart if selected range less than 500ms

* typo

* check boundary

* check msg_id

* capital first letter

* move history log out of scrollarea

* Show only one form at a time

* auto scroll to header

d

* reduce msg size
entire row clickable

rename filter_msgs
2022-10-12 13:55:17 -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
Dean Lee
8f3b259f7c replay/camera: set frame id before send (#25591) 2022-08-29 11:56:18 -07:00
Dean Lee
cd32f64d01 replay: add missing format specifier (#25590) 2022-08-29 11:53:11 -07:00
Dean Lee
f95519cb44 replay/CameraServer: yuv_buf should not be null (#25545) 2022-08-24 11:03:54 -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
Nelson Chen
4fb318c5be Update replay README.md to be more clear that auth.py is in tools/lib (#25366)
and a little minor format fix
2022-08-04 15:06:36 -07:00
Dean Lee
91eb096ac9 replay: add support for reading from plain logs (#25053)
* read from plain log

* reduce memory copies

* cleanup

* fix test_replay
2022-07-15 10:53:10 -07:00