Commit Graph

999 Commits

Author SHA1 Message Date
Cameron Clough 25ce3cfd1e tools: add cabana to README
old-commit-hash: 3cd00a9b6cae5865e3b5860f61080cd5bba8cbd7
2023-04-17 17:39:03 -07:00
Willem Melching 23d52ccd2d cabana: refactor new msg/signal name generation (#27931)
old-commit-hash: 1016c3f97c9e710c75380249da29c89b0e7ca8e1
2023-04-17 15:37:41 -07:00
Willem Melching 484eed0acf cabana: support direct streaming from panda over USB (#27936)
* refactor livestream into devicestream

* add panda stream

* unused

* whitespace

* move logging to base class

* add cmdline args

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f553162ff41dd50ed6921b90ac512efa3d2
2023-04-17 15:37:26 -07:00
Dean Lee 5115b6dc5a cabana: fixed the freq column for high-freq messages may be incorrectly displayed as a --. (#27940)
old-commit-hash: a324d79fa3529c00363fb8a5aa802da2dc81d737
2023-04-17 15:08:22 -07:00
Dean Lee 8d7e910631 canaba: display the opened dbc files in the window title bar. (#27939)
* show dbc file name on the window title

* Show all dbc files opened on each bus

* check d
old-commit-hash: 30ff0bface71f54cfad292952cc8d94598e37db2
2023-04-17 15:08:08 -07:00
Dean Lee 941765994c cabana: some improvements to messages view (#27935)
* improve messageswidget

* remove double semicolon
old-commit-hash: f79654a1e7e3b6d64bf73859ae58a39d0f0b6f74
2023-04-17 13:39:43 -07:00
Willem Melching 5bb84a0568 cabana: remove msg on removing last signal (#27933)
old-commit-hash: d06936843b8759ce9b1e309620ef690ba99f2a28
2023-04-17 09:53:04 -07:00
Willem Melching 21f2724815 cabana: add setting to choose preferred drag direction for new signals (#27932)
old-commit-hash: 0f22bb50de38dee096442e54d30bf2b8cf8c1175
2023-04-17 09:52:45 -07:00
Dean Lee 40caca7e24 cabana: paint sparkline in threads (#27925)
* multiple threading realtime sparkline

* delay visible

* remove msg_id

* cleanup
old-commit-hash: ed1f03dc41bd508543265e2b4417d7ad2a08d928
2023-04-16 10:59:24 -07:00
Dean Lee b8fcd32542 cabana: update recent files in menu after save as (#27926)
old-commit-hash: 48f8c02cf14fe764875477fee2c95c746d76f200
2023-04-16 09:55:03 -07:00
Dean Lee 52f0416736 cabana: fix message view performance issues after #27901 (#27908)
* fix message list issues

* override drawBranches, do nothing

* bypass QTreeView::datachanged

* remove data copy in binaryview::updateState

* rename to x_v2
old-commit-hash: f5d66fa2a9b1c09dfcab72e23610379c6960d0da
2023-04-15 16:25:24 -07:00
Dean Lee 4858164287 cabana: choose camera type in open route dialog (#27910)
* choose camera type

* use combobox

* cleanup
old-commit-hash: 6f801031e25dda537abeb50d2ee667b4c18792dc
2023-04-14 11:31:48 -07:00
Dean Lee ab69c0ae9f cabana: fix chart high-dpi issues (#27912)
* fix high-dpi issues

* cleanup

* clear chart cache on screenChanged

* cleanup
old-commit-hash: 29a3b460343e62f31d0878a7dfd693891ff7a6f0
2023-04-14 10:22:59 -07:00
Dean Lee e9bdfdd807 cabana: display chart count in tab (#27853)
display chart count in tabbar
old-commit-hash: f77930f5697d45c83919b8b579ace9a7b2f9c9e1
2023-04-13 22:03:57 -07:00
Dean Lee 6a98fd2bfd cabana: support logging live stream (#27884)
support logging live stream
old-commit-hash: e3a19ff074857876dca3c730f6ddc3c6e191aaf5
2023-04-13 19:53:39 -07:00
Dean Lee e46c9899c1 cabana: fix tooltip will not show if chart is partial visible. (#27897)
* use horizontalSpacing

* fix chart toopl tip
old-commit-hash: d425f9d1e61a29090e088ff158ff0ac792287fda
2023-04-13 19:51:43 -07:00
Dean Lee 3e13b0be9d cabana: support display hex bytes in multiple lines. (#27901)
* display hex bytes in multiple lines

* default is true

* cleanup
old-commit-hash: 860e843af6a3afd153790b7d8e3060b9b586299f
2023-04-13 16:26:58 -07:00
Willem Melching e8833c7d93 cabana: fix new chart button placement on Windows (#27895)
old-commit-hash: 48ae73fb9325ceb8cf9e71ce3e6d1ae3e15d1a7c
2023-04-13 11:40:06 -07:00
Willem Melching 36bf8e676f cabana: signalview.cc add missing <QHelpEvent> include (#27894)
old-commit-hash: 777c5c1a813984618fdb8e09fe58dd71bb59fab0
2023-04-13 11:36:44 -07:00
Willem Melching 59dfef9d60 cabana: do not try to save empty wildcard DBC (#27898)
* cabana: do not try to save empty wildcard DBC

* use reference
old-commit-hash: d8e9c44c76961363ba633aca2692aacf2e8d006b
2023-04-13 11:09:14 -07:00
Dean Lee 920df8f725 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
old-commit-hash: f63fe156379cc225f7685a692ed9e3d1965fc5dc
2023-04-12 15:59:44 -07:00
Dean Lee dcb8ea01b3 cabana: split chart to multiple files (#27871)
* git mv

* split file

* fix includes

* split tiplabel out
old-commit-hash: 57bf782872461a3328bbd9121c7bbd207abec2e5
2023-04-11 22:30:15 -07:00
Dean Lee a5cb283b27 cabana: speed up parsing can events (#27874)
speed up parsing can events

cleanup include
old-commit-hash: f15cb01137ca4eb9bad0d134795919739969e04d
2023-04-11 19:35:11 -07:00
Dean Lee 83e9654b58 cabana: fix valgrind warnings related to uninitialized values (#27851)
fix valgrind warnings related to uninitialized values
old-commit-hash: deeb7cff9fcdd9d8e2f282db56b3bb16b3c49550
2023-04-10 19:07:05 -07:00
Dean Lee a9f0e50aba cabana: fix thumbnail position issue (#27852)
* fix thumbnail position issue on WSL

* continue

* remove Qt::tool

* set parent
old-commit-hash: 7fff874755bb0abddb8e0b1dd667bd3a7cf272f5
2023-04-10 17:33:27 -07:00
Dean Lee c635bf8723 cabana: switch theme on the fly (#27855)
* switch theme on the fly

* better chart theme

* Darcula like dark theme

* add TODO

* use theme aware toolbutton in ChartView

* add margin to text title

* lighter activity colors

* fix historylog header

* replace hardcoded color

* improve chart tooltip color

* use macro

* space

* remove function toolbutton

* fix remove all btn

* remove menu arrow

* improve chart::removeIf

* cleanup charts
old-commit-hash: fc90814199d10b4419574f0e5a01102ec55c9cdb
2023-04-10 15:53:50 -07:00
Dean Lee cb5c7d76f6 cabana: improve drag&drop (#27842)
improve drag&drop

draw shadow effect
old-commit-hash: 8f118220e6d5c38d7f4f5cf13817e9268e870541
2023-04-08 11:35:28 -07:00
Dean Lee fbaefab443 cabana: dispaly alert info in thumbnail&video player (#27837)
* show alert info in thumbnail

* dispaly alert info in video
old-commit-hash: 2d061e2041574e250d3fa6b487fd9b4a2958864a
2023-04-08 11:34:37 -07:00
Dean Lee f81f65dc77 cabana: support dragging chart between tabs (#27838)
drag chart between tabs
old-commit-hash: f4f836e2a9f0362f237321ec3d8c9be5703ec77b
2023-04-07 15:16:57 -07:00
Dean Lee 5f106c8ca3 cabana: support multiple tabs in ChartsView (#27833)
* support multiple tabs charts

* new tab button right
old-commit-hash: 424bd0c0b69043ced3b773555e0603b0e3ead396
2023-04-07 14:55:00 -07:00
Dean Lee e5b3ebbf36 cabana: drag&drop to change chart order (#27832)
old-commit-hash: 409bfcacb754253d53c9da616baeccfcbb05e682
2023-04-07 10:47:06 -07:00
Justin Newberry 447a7bf9b1 cabana: sort events based on priority (#27809)
* sort events based on priority

* cleanup for pr

* pr cleanup 2

* pr cleanup 3
old-commit-hash: f8d9263eae3525a0a535c38f04f64f88010cabad
2023-04-06 21:31:04 -07:00
Dean Lee 1db81fb496 cabana: improve chart drag and drop (#27820)
* improve drag/drop

* change alpha to 180

* cleanup

* cleanup

* draw drop indicator
old-commit-hash: 23e420448b5713875bf2fd17fb9f0c1c804ec010
2023-04-06 13:37:09 -07:00
Adeeb Shihadeh 129ad5c8e0 plotjuggler: camera timings layout
old-commit-hash: 248cc46f4765c3a9c6a355567365e42198f48f1a
2023-04-06 12:42:44 -07:00
Adeeb Shihadeh dd0b8205a7 plotjuggler: ublox debug layout
old-commit-hash: 8aedbad24f75941340cf6268655f87a9ff28f587
2023-04-05 11:06:32 -07:00
Dean Lee 64e407ba5f cababa: display '--' in chart tooltip if no min max values (#27798)
old-commit-hash: a556d23483e6d2bae44e56893595ed113c8acade
2023-04-04 11:44:51 -07:00
Dean Lee ea5f2caada cabana: fix text overlapping in sparkline (#27801)
old-commit-hash: 68c4184df70219e3ea4ffda81eb7543c0ba8dfd8
2023-04-04 10:48:19 -07:00
Dean Lee 0f49992718 cabana: do not emit DBCFileChanged if no file changes (#27800)
old-commit-hash: 493d20994a1a4e41c11c33b73550a0d120a2bdb8
2023-04-04 10:47:54 -07:00
Dean Lee 688247e659 cabana: support undo/redo zoom (#27799)
* support updo/redo zoom

* cleanup eventsMerged

* init axis_x when create chart

* update tool bar after create chart

* align charts after updatelayout
old-commit-hash: c5f5a3b5f2063be36497c81526c3a4c42d84beb7
2023-04-04 10:46:36 -07:00
Dean Lee ca1fe711af cabana: fix chart background issue in live mode (#27793)
* fix background

* Update tools/cabana/chartswidget.cc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea91532ac1d346d4bf8112c11f00ff1889576d63
2023-04-03 13:05:49 -07:00
Dean Lee 07c2eb11a9 cabana: dynamic update chart tooltip (#27790)
dynamic update tooltip

dont emit serieschanged if no charts
old-commit-hash: 7c7347a9e6e108386bc5f85e214ca07a2e3ea0ee
2023-04-03 12:50:29 -07:00
Dean Lee 07e11f1331 cabana: support toggle between light / dark theme (#27787)
add dark theme
old-commit-hash: c56872265a126a0e8feda8bb21225e885ea6e941
2023-04-02 11:34:10 -07:00
Dean Lee 5d9ec5abe7 cabana: significantly reduce CPU usage by caching chart to pixmap (#27786)
* caching chart to pixmap

* cleanup

* fill with QPalette::Base
old-commit-hash: 0cee9d4e789d2daa1c6da85231912b53576fd00d
2023-04-02 11:34:01 -07:00
Dean Lee eef825ac94 cabana: static link to opendbc (#27409)
* static link to opendbc

* bump opendbc

* cleanup

* bump opendbc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0364303906380def2d686e57b3e415e1dda74d2
2023-04-01 16:29:06 -07:00
Dean Lee b37c3cf282 cabana: fix chart tooltip issues (#27778)
old-commit-hash: 6bbcbab3f7705a750e90e99a8de22b191e177184
2023-04-01 15:20:47 -07:00
Dean Lee e3917887a3 cabana: show min and max values in sparkline on hover (#27769)
old-commit-hash: e82d7a10d37cbcec54918a05f2233e20ee755ce2
2023-03-31 13:59:08 -07:00
Dean Lee 714e3802f2 cabana: fixed chat tool tips was displayed outside of the viewport (#27770)
old-commit-hash: aa3b8e5f300f992c69b4924a7c94994ce13db5c4
2023-03-31 13:58:50 -07:00
Dean Lee bba08e9e07 cabana: display signal value in all charts on mouse hover (#27749)
* display all values

* cleanup

* cleanup

* emit hoverd if tip is visible
old-commit-hash: 15a4b60ee6e78d16646db1535c5840cc4fd56932
2023-03-31 12:48:31 -07:00
Dean Lee 07f34908de cabana: fix sparkline overlapping issue (#27766)
* fix sparkline overlapping issue

* cleanup
old-commit-hash: 63f888fa3a31dcf06ff2a2f098e2930c45050ea6
2023-03-31 11:44:21 -07:00
Willem Melching b308533897 cabana: show min and max values in chart tooltip (#27744)
old-commit-hash: ced90c163ed292f41a450810035ae32438fe81fc
2023-03-31 11:32:27 -07:00