Commit Graph

24 Commits

Author SHA1 Message Date
Dean Lee 59bf2fc008 Cabana: support deleting message (#26418)
delete message
2022-11-09 14:19:11 -08:00
Dean Lee 1cf293f3a6 Cabana: improve message sorting,filtering and updating. (#26396)
* optimize sort/filter/update

* helper function msgName

* cleanup
2022-11-07 07:53:42 -08:00
Dean Lee 529504e201 Cabana: move dbc related code from MessagesWidget to MainWin (#26387)
* move dbc related code to mainwin

* trigger ci
2022-11-06 11:05:14 -08:00
Dean Lee ea5587d1d1 Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count
2022-11-06 11:03:57 -08:00
Dean Lee ac76cc9325 Cabana: cleanup code (#26369)
* remove ChartView::enterEvent

* cleanup ChartsWidget::removeAll

* group graphics items

* remove rubber->setPalette

* helper function DBCManager::parseId

* remove variable name from dbcManager

* fix readme/Usage

* use QSlider::setRange

* cleanup include

* use emplace_back

* remove varialbe routeName from CanMessages

* remove tmp variable

* remove blank line

* cleanup layout

* clean settings layout

* connect to streamStarted

* cleanup signal/slot
2022-11-05 16:52:16 -07:00
Dean Lee 6ca6a26d4c Cabana: fix update issues when the the replay is paused (#26311)
fix state not updated if replay is paused
2022-11-01 09:31:47 -07:00
Dean Lee af685851af Cabana: update msg name after load dbc from paste (#26294)
update msg name after load dbc from paste
2022-10-31 09:50:27 -07:00
Dean Lee 80b088c332 Cabana: add save DBC dialog (#26282)
* export DBC to text edit

* added saveAs & Copy To Clipboard

* cleanup

* cleanup include

* add test case

* rename variable

* fix precision
2022-10-30 07:31:12 -07:00
Dean Lee f04ca9ff3d Cabana: fix dbc opened twice on startup (#26265) 2022-10-27 12:58:25 -07:00
Oxygen 60b666fe3b Add #include <QFile> in cabana (#26208)
* Add #include <QFile>

* fix import order

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2022-10-23 15:25:50 -07:00
Dean Lee d0c0972ba4 Cabana: show frequency column in message table (#26189)
* show frequency column in message table

* add comments
2022-10-21 08:01:26 -07:00
Dean Lee 02a0a1c201 Cabana: add status bar to main window (#26159) 2022-10-20 13:37:27 -07:00
Dean Lee 85d39ec34e Cabana: dynamic sorting message list (#26150) 2022-10-20 11:23:27 -07:00
Dean Lee 2ed51e3151 Cabana: load DBC from car fingerprint (#26158)
* auto load DBC from fingerprint

* generate json in scons
2022-10-19 14:18:28 -07:00
Dean Lee 1211ffbcf2 cabana: display a clear button in filter string edit box (#26152)
display clear button
2022-10-19 08:03:34 -07:00
Dean Lee 12058c21c7 cabana: load dbc from paste (#26098) 2022-10-17 21:44:56 -07:00
Dean Lee b89b881bdc cabana: sort DBC list alphabetically (#26127) 2022-10-17 21:00:20 -07:00
Dean Lee e3268d88c5 cabana: use monospace font for hex string (#26102)
specify monospace font for hex string
2022-10-16 08:24:34 -07:00
Dean Lee e25ea85296 Cabana: complete edit functions (#26097)
complete forms
2022-10-16 07:55:53 -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 4cd3753d98 cabana: insert new chart at the top (#25981)
* small cleanup

* new chart insert at the top
2022-10-06 11:20:49 -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