Commit Graph

33 Commits

Author SHA1 Message Date
Dean Lee adf0f69254 cabana: fix chart margins (#26125)
old-commit-hash: 544526edeb343d4b6f9c7c6f2521659c34d37012
2022-10-17 21:00:36 -07:00
Dean Lee eaaa53c050 cabana: sort DBC list alphabetically (#26127)
old-commit-hash: b89b881bdccb0fb844c597e9d26b64d36ba4af99
2022-10-17 21:00:20 -07:00
Dean Lee 338225d7f4 cabana: reduce the padding in DetailsView (#26126)
old-commit-hash: 988fede1858486ec0679f208540a88533e9296e3
2022-10-17 21:00:07 -07:00
HaraldSchafer f7b76d947a UI Onroad widget renames (#26124)
Consistent widget naming
old-commit-hash: baca1cae1f71c70162374c887cf36d5cf828f2f3
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: 99b16151fcc621832d573b9f7858eb5020f6503a
2022-10-17 17:19:41 -07:00
Dean Lee 745f49b9e0 cabana: faster history log with better stretch mode (#26112)
old-commit-hash: 409e8f5f89a38f9893a1f28f8fabd3bf526b46eb
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: cd12ef4aa19a83f88532f5c1a8c3f290b87fcbf8
2022-10-17 17:18:04 -07:00
Dean Lee e78b3ceee9 Cabana: align the charts properly (#26116)
old-commit-hash: 60586e0d5835dbb3928321700c9d4d99cdeec216
2022-10-17 14:39:18 -07:00
Dean Lee 775442d196 Cabana: add chart_height setting (#26066)
add chart_height setting
old-commit-hash: 93346c31d3728d27eaff56a3068690a47eac86ef
2022-10-17 10:20:27 -07:00
Dean Lee 5ff03b411e Cabana: click on video to play/pause (#26099)
old-commit-hash: d109dda720b502a94f914c1a29ffdea6d01fbc6f
2022-10-16 12:31:26 -07:00
Dean Lee 3d39cb1682 Cabana: load from high quality video by default (#26100)
old-commit-hash: d4f9343a2c1f5345dec07a93b25594b588cd9963
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: e3268d88c5226afaf5a300a775b8989bcff18b20
2022-10-16 08:24:34 -07:00
Dean Lee 1d1d7b0fb8 Cabana: complete edit functions (#26097)
complete forms
old-commit-hash: e25ea8529698053f4c1b915b7e014ebdc499e56a
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: bf5a6565c0f2d6791606ff906f6ddb4cba27fb18
2022-10-15 16:05:52 -07:00
Dean Lee bf2c8ed41e Cabana: right click on the chart to reset zoom (#26088)
old-commit-hash: deac907cb44230f641fde5ca1ba22d7c5e236d90
2022-10-15 11:36:09 -07:00
Dean Lee db061e0e7a Cabana: scrollable binary view (#26065)
old-commit-hash: a397418ef82957289779cbfbcf9cb138d9f2cd3f
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: cc6dd18cf0115458f28135b10e3d935ee4119e04
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: b31932382d574b4db3c2b9b280d5410823adad1c
2022-10-12 19:31:26 -07:00
Dean Lee 9d1154ecb5 cabana: keep scrollarea frame (#26056)
add frame back
old-commit-hash: b65fad9e8f232167bcc0fc9139bd632c573abb60
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: 8b5ebbddf684bc7566ae41447face9f2ab053d40
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: 0fa1588f6c0bf9c9f1bebde91e02699506389ecd
2022-10-12 13:55:17 -07:00
Dean Lee 6333f55833 Cabana: increase slider precision to milliseconds (#26025)
old-commit-hash: 754b44e7ceb2b6b029cf511b821f4328b90364f9
2022-10-09 08:44:19 -07:00
Dean Lee 25869e45ce cabana: fix Incorrect Y-Axis Scale (#26018)
old-commit-hash: 2ed82387a5df5b86113d23fc4cc7d7aeadabdb52
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: beb0f8ac234d28b72c6267d0b4c55fdf81c817b9
2022-10-07 11:28:24 -07:00
pbkompasz 0b30549c97 README -> README.md (#26005)
old-commit-hash: cfabae28e7554c12c0fcb4beab8b7b3353140316
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: 750b96aaedb88defd522a60a4bb5fbfeb46332db
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: 9ec262bbfd09c7cd12773cabab0bb6d933b4d13e
2022-10-06 13:57:11 -07:00
Dean Lee 0bc6e0dc46 cabana: Fix the incorrect Y axis (#25984)
old-commit-hash: 2d9e7972598918a72de736e12edbc2967d77e841
2022-10-06 13:35:56 -07:00
Dean Lee a3e4d96bf1 cabana: use QFormLayout (#25982)
old-commit-hash: 7156633034ac0232b60f79b2d47bf3e4bbaad1c9
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: 4cd3753d98bea907929ce09d9f5c218d5fce7653
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: a6ba073231761e06ac6f070a01b434243d9d0693
2022-10-05 21:17:22 -07:00
Cameron Clough 5c99e4ca39 fix build without extras (#25957)
old-commit-hash: 4404cb42b445cdb7c2a9583357582ba2f11f2067
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: 1b8324af876e66630b5f4e50623e3136a39f6ecb
2022-10-03 15:19:42 -07:00