Commit Graph

33 Commits

Author SHA1 Message Date
Dean Lee adf0f69254 cabana: fix chart margins (#26125)
old-commit-hash: 544526edeb
2022-10-17 21:00:36 -07:00
Dean Lee eaaa53c050 cabana: sort DBC list alphabetically (#26127)
old-commit-hash: b89b881bdc
2022-10-17 21:00:20 -07:00
Dean Lee 338225d7f4 cabana: reduce the padding in DetailsView (#26126)
old-commit-hash: 988fede185
2022-10-17 21:00:07 -07:00
HaraldSchafer f7b76d947a UI Onroad widget renames (#26124)
Consistent widget naming
old-commit-hash: baca1cae1f
2022-10-17 18:18:01 -07:00
Dean Lee d2d27243e4 Cabana: show MSB/LSB of signals in the BinaryView (#26103)
* dispaly msb and lsb in binary view

* draw at bottom

* move binaryview to seperate files

* increase the width of vertical header

* re-draw changed cells only

* correct lsb/msb position

* check bounds

* todo
old-commit-hash: 99b16151fc
2022-10-17 17:19:41 -07:00
Dean Lee 745f49b9e0 cabana: faster history log with better stretch mode (#26112)
old-commit-hash: 409e8f5f89
2022-10-17 17:18:24 -07:00
Dean Lee 8113e58e24 cabana: add a splitter between message lists and detailview (#26118)
* add a splitter between message lists and detailview

* space
old-commit-hash: cd12ef4aa1
2022-10-17 17:18:04 -07:00
Dean Lee e78b3ceee9 Cabana: align the charts properly (#26116)
old-commit-hash: 60586e0d58
2022-10-17 14:39:18 -07:00
Dean Lee 775442d196 Cabana: add chart_height setting (#26066)
add chart_height setting
old-commit-hash: 93346c31d3
2022-10-17 10:20:27 -07:00
Dean Lee 5ff03b411e Cabana: click on video to play/pause (#26099)
old-commit-hash: d109dda720
2022-10-16 12:31:26 -07:00
Dean Lee 3d39cb1682 Cabana: load from high quality video by default (#26100)
old-commit-hash: d4f9343a2c
2022-10-16 12:30:23 -07:00
Dean Lee 4028909ae2 cabana: use monospace font for hex string (#26102)
specify monospace font for hex string
old-commit-hash: e3268d88c5
2022-10-16 08:24:34 -07:00
Dean Lee 1d1d7b0fb8 Cabana: complete edit functions (#26097)
complete forms
old-commit-hash: e25ea85296
2022-10-16 07:55:53 -07:00
Adeeb Shihadeh 837b2d53c3 cabana: misc touchups (#26092)
* fix time formatting

* disable vertical resize

* Update tools/cabana/videowidget.cc
old-commit-hash: bf5a6565c0
2022-10-15 16:05:52 -07:00
Dean Lee bf2c8ed41e Cabana: right click on the chart to reset zoom (#26088)
old-commit-hash: deac907cb4
2022-10-15 11:36:09 -07:00
Dean Lee db061e0e7a Cabana: scrollable binary view (#26065)
old-commit-hash: a397418ef8
2022-10-13 13:25:21 -07:00
Dean Lee 9e0fa02410 Cabana: display the (x,y) values while MouseMove on the chart (#26064)
old-commit-hash: cc6dd18cf0
2022-10-13 13:24:55 -07:00
Dean Lee edb488ff41 cabana: increase replay's segment cache limit & add setting dialog (#26019)
* increase replay's segment cache limit

* todo

* add settings dialog

blank line

typo
old-commit-hash: b31932382d
2022-10-12 19:31:26 -07:00
Dean Lee 9d1154ecb5 cabana: keep scrollarea frame (#26056)
add frame back
old-commit-hash: b65fad9e8f
2022-10-12 17:04:53 -07:00
Cameron Clough e0a63d7041 build extras together (#26051)
* build extras together

* don't check here either
old-commit-hash: 8b5ebbddf6
2022-10-12 15:14:02 -07:00
Dean Lee 62adf87f40 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
old-commit-hash: 0fa1588f6c
2022-10-12 13:55:17 -07:00
Dean Lee 6333f55833 Cabana: increase slider precision to milliseconds (#26025)
old-commit-hash: 754b44e7ce
2022-10-09 08:44:19 -07:00
Dean Lee 25869e45ce cabana: fix Incorrect Y-Axis Scale (#26018)
old-commit-hash: 2ed82387a5
2022-10-08 14:10:00 -07:00
Dean Lee 120162e678 cabana: custom slider to indicate the status of engaged/disengaged/alerts (#26003)
* timeline

* remove todo

* cleanup
old-commit-hash: beb0f8ac23
2022-10-07 11:28:24 -07:00
pbkompasz 0b30549c97 README -> README.md (#26005)
old-commit-hash: cfabae28e7
2022-10-07 08:41:14 -07:00
Dean Lee 2d9dacacfe 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
old-commit-hash: 750b96aaed
2022-10-06 15:02:22 -07:00
Dean Lee a5e61f27cf cabana: Docking and undocking charts (#25983)
* floating dock charts

* more button

* setMinimumSize

* move reset zoom button to title bar

* show chart count

* cleanup

* reduce flicker

* dont update linemarker if pos not changed

* cleanup

* remove blank line

* always show dock/undock button
old-commit-hash: 9ec262bbfd
2022-10-06 13:57:11 -07:00
Dean Lee 0bc6e0dc46 cabana: Fix the incorrect Y axis (#25984)
old-commit-hash: 2d9e797259
2022-10-06 13:35:56 -07:00
Dean Lee a3e4d96bf1 cabana: use QFormLayout (#25982)
old-commit-hash: 7156633034
2022-10-06 11:21:04 -07:00
Dean Lee fb29ee311a cabana: insert new chart at the top (#25981)
* small cleanup

* new chart insert at the top
old-commit-hash: 4cd3753d98
2022-10-06 11:20:49 -07:00
Dean Lee f93f4e9f9b 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
old-commit-hash: a6ba073231
2022-10-05 21:17:22 -07:00
Cameron Clough 5c99e4ca39 fix build without extras (#25957)
old-commit-hash: 4404cb42b4
2022-10-03 16:45:00 -07:00
Dean Lee 292d55cf8a 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
old-commit-hash: 1b8324af87
2022-10-03 15:19:42 -07:00