Commit Graph

24 Commits

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

* helper function msgName

* cleanup
old-commit-hash: 1cf293f3a6c02bb44af9ef1e715b005104de1bc1
2022-11-07 07:53:42 -08:00
Dean Lee aa4d1816a5 Cabana: move dbc related code from MessagesWidget to MainWin (#26387)
* move dbc related code to mainwin

* trigger ci
old-commit-hash: 529504e201a4130bad7ff9ab712e01c1341ac349
2022-11-06 11:05:14 -08:00
Dean Lee 650a6a921c Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count
old-commit-hash: ea5587d1d14e01b7a2aeae34f8abc73886699519
2022-11-06 11:03:57 -08:00
Dean Lee 1bc0166499 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
old-commit-hash: ac76cc93256578f24db255cefd10c013dd906c28
2022-11-05 16:52:16 -07:00
Dean Lee 1e30802b36 Cabana: fix update issues when the the replay is paused (#26311)
fix state not updated if replay is paused
old-commit-hash: 6ca6a26d4c12ab0813c8474eb1a9bed6f69374ee
2022-11-01 09:31:47 -07:00
Dean Lee 7616df4a8e Cabana: update msg name after load dbc from paste (#26294)
update msg name after load dbc from paste
old-commit-hash: af685851af226041f349212a0344dd00f0c3dd6e
2022-10-31 09:50:27 -07:00
Dean Lee 520d0d1af0 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
old-commit-hash: 80b088c332808439ea9cfe23557fae5a86fb075c
2022-10-30 07:31:12 -07:00
Dean Lee b32ca59ced Cabana: fix dbc opened twice on startup (#26265)
old-commit-hash: f04ca9ff3dc1af71a66c2d1d75364938e898ed10
2022-10-27 12:58:25 -07:00
Oxygen 4c6c8f4e99 Add #include <QFile> in cabana (#26208)
* Add #include <QFile>

* fix import order

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

* add comments
old-commit-hash: d0c0972ba44e72f4875ed4f3c6fc3b25fd862b99
2022-10-21 08:01:26 -07:00
Dean Lee 9cf0785628 Cabana: add status bar to main window (#26159)
old-commit-hash: 02a0a1c201e2c203e79669fd927b38768ef645b7
2022-10-20 13:37:27 -07:00
Dean Lee daa35e27c0 Cabana: dynamic sorting message list (#26150)
old-commit-hash: 85d39ec34ef80ab292eae0ac18600037f7903e44
2022-10-20 11:23:27 -07:00
Dean Lee 03aefed64a Cabana: load DBC from car fingerprint (#26158)
* auto load DBC from fingerprint

* generate json in scons
old-commit-hash: 2ed51e31517e1e1948833cfcf8d2c83471b1e1be
2022-10-19 14:18:28 -07:00
Dean Lee 1915c6f271 cabana: display a clear button in filter string edit box (#26152)
display clear button
old-commit-hash: 1211ffbcf22800049682244727984a596395c217
2022-10-19 08:03:34 -07:00
Dean Lee e0f105f628 cabana: load dbc from paste (#26098)
old-commit-hash: 12058c21c73c7777e260334827b30f4d24c8313d
2022-10-17 21:44:56 -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 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
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 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 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
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