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
Dean Lee
fa4b80a4b1
cabana: fill rows with Qt::BDiagPattern if messag size is incorrect ( #27750 )
...
old-commit-hash: dd4e07fe7b67ef6db8095a7f654acdc8d6010be6
2023-03-30 13:00:06 -07:00
Willem Melching
306e24a062
cabana: fix parts of chart widget not being redrawn ( #27742 )
...
* cabana: fix parts of chart widget not being redrawn
* revert others
old-commit-hash: bec8cb1e30c91b150008ef600b42abaf48e1641a
2023-03-30 12:37:49 -07:00
Willem Melching
2127db9a0c
cabana: fix drawing sparkline at half width on hi-dpi screen ( #27746 )
...
old-commit-hash: ecd82f04087eb58df7de9b503133aae1d8de15d5
2023-03-30 12:37:29 -07:00
Willem Melching
3484716d85
cabana: show string value for val/desc ( #27747 )
...
old-commit-hash: 469accbec105e376b88d75a387bb244f0cfd11eb
2023-03-30 12:36:54 -07:00
Willem Melching
969efb868f
cabana: allow zooming to smaller ranges ( #27748 )
...
* cabana: allow zooming to smaller ranges
* remove comment
old-commit-hash: cf299002f73d121ed2e7afb69f9ff68567ac62cd
2023-03-30 12:36:34 -07:00
Dean Lee
0035749f62
add libncurses5 to ubuntu_setup.sh ( #27751 )
...
old-commit-hash: f3664b658b0b375cb95d6511d345d5869ae64a24
2023-03-30 12:24:41 -07:00
Willem Melching
b34e314d25
cabana: fix merging sources for already open DBC file ( #27715 )
...
* fix build
* fix merging sources
old-commit-hash: e0afaa4eeec1dd36ede1aea809d34637ef968385
2023-03-29 13:17:46 -07:00
Dean Lee
9897bc83c4
cabana: add a slider to set sparkline time range ( #27727 )
...
* add slider to set sparkline time range
* rename signaleedit to signalview
* default is 15s
* util::formatSeconds
* update() is faster than invalidate
* draw points
* fix scatter width
old-commit-hash: d6961152b824518f584d2ffad831312447d79d5f
2023-03-29 12:43:43 -07:00
Dean Lee
7ffea181b7
cabana: add sparkline to signal view ( #27717 )
...
* display small line chart beside signal
* TODO
* 1 px width
* auto stretch
* static lines
* use std::vector
* cleanup
* use ts from last message
* remove hardcorded size
old-commit-hash: eee3c8ee6007918d8a5ebf80ab236659a4738356
2023-03-28 13:25:13 -07:00
Dean Lee
d2fcf6dbae
cabana: improve video thumbnail ( #27711 )
...
old-commit-hash: a1fb8d248022e7c47010fe7a91d84f12adc12114
2023-03-28 13:24:54 -07:00
Dean Lee
640d68e3bc
cabana: move dbc related files to dbc/ ( #27712 )
...
* move dbc related files to dbc/
* move generate_dbc_json.py to dbc/
old-commit-hash: 8903e03c8844df03783ae78d97e1294d0869ffea
2023-03-28 11:52:28 -07:00
Dean Lee
ad5b489005
cabana: clear zoom stack after reset zoom ( #27716 )
...
old-commit-hash: 2f954a50e3b34b8a38878bf8dbd37e359c0c6d3f
2023-03-28 11:50:19 -07:00
Willem Melching
cfa62044d6
cabana: go to previous zoom window ( #27702 )
...
* cabana: go to previous zoom level
* zoom undo on right click
* catch mousepress event on linux
old-commit-hash: e4348dc45d383c5ef0622b3bbf5dcd659081e5bb
2023-03-27 12:45:55 -07:00
Willem Melching
e0ba3902df
cabana: add support for multiple DBC files ( #27435 )
...
* split out dbc file logic into separate file
* emit dbc file changed
* change to list of dbc files
* handle missing DBC file
* dbcmanager emits signal
* close existing files before loading new one
* add placeholder open for bus menu
* implement open dbc for bus
* emit signals relevant for current dbc
* move logic into findDBC
* fix use after free
* show currently loaded names in load dialog
* enable/disable load save menus
* handle saving
* add save as to recents
* handle file already open
* do not assert
* fix return and throw on file open error
* fix test maybe
* remove todo
* typo
* fix new dbc
* fix loading fingerprint on macos
* handle replacing a currently open dbc
* fix reference and handle exception
* fix indendation
old-commit-hash: 4ab2131ec9e21d9784f2f423bd6b21c9914cd661
2023-03-27 10:29:44 -07:00
AlexandreSato
e75c02e89c
caban: fix typo ( #27700 )
...
old-commit-hash: 083f008d94a037174f27417c6e2d1698f7ee897f
2023-03-26 17:06:33 -07:00
Dean Lee
0899e5628a
cabana: improve LogSlider ( #27673 )
...
* improve logslider
* fix code indentation
old-commit-hash: 583c4a031f433fb4b48c5dc0a522b71cdbd6f23c
2023-03-25 16:03:16 -07:00
Dean Lee
5f98b5c0fa
cabana: update state after creating new signal ( #27690 )
...
old-commit-hash: 8bd4c0f5103d09ef90313ba4b6a55d51ff27744d
2023-03-25 15:39:21 -07:00
Dean Lee
b70e95dcbb
cabana: support qlogs ( #27689 )
...
old-commit-hash: 8150e4a4b864e266bac4a0f4cc95816424f0d463
2023-03-25 15:38:55 -07:00
Dean Lee
ac56a33a2d
cabana: fix high DPI issues in chart ( #27694 )
...
old-commit-hash: c77a0feab4e8474f73e47d7f111f3f41f0d68ff3
2023-03-25 15:38:41 -07:00
Dean Lee
66a7d0b8a3
cabana: enables user to select the zoom area when the mouse press on the data point ( #27679 )
...
zoom anywhere
old-commit-hash: 33afefd346e4348aacb122a486066741731b7d05
2023-03-24 21:54:41 -07:00
Dean Lee
6e7afd47ec
cabana: clear the old timeline after opening a new route from menu ( #27672 )
...
old-commit-hash: 9c84af296c325f310bad23657bc35e725be45541
2023-03-24 11:01:26 -07:00