Commit Graph

2060 Commits

Author SHA1 Message Date
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: ea91532ac1
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: 7c7347a9e6
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: c56872265a
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: 0cee9d4e78
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: a036430390
2023-04-01 16:29:06 -07:00
Dean Lee b37c3cf282 cabana: fix chart tooltip issues (#27778)
old-commit-hash: 6bbcbab3f7
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: e82d7a10d3
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: aa3b8e5f30
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: 15a4b60ee6
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: 63f888fa3a
2023-03-31 11:44:21 -07:00
Willem Melching b308533897 cabana: show min and max values in chart tooltip (#27744)
old-commit-hash: ced90c163e
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: dd4e07fe7b
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: bec8cb1e30
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: ecd82f0408
2023-03-30 12:37:29 -07:00
Willem Melching 3484716d85 cabana: show string value for val/desc (#27747)
old-commit-hash: 469accbec1
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: cf299002f7
2023-03-30 12:36:34 -07:00
Dean Lee 0035749f62 add libncurses5 to ubuntu_setup.sh (#27751)
old-commit-hash: f3664b658b
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: e0afaa4eee
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: d6961152b8
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: eee3c8ee60
2023-03-28 13:25:13 -07:00
Dean Lee d2fcf6dbae cabana: improve video thumbnail (#27711)
old-commit-hash: a1fb8d2480
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: 8903e03c88
2023-03-28 11:52:28 -07:00
Dean Lee ad5b489005 cabana: clear zoom stack after reset zoom (#27716)
old-commit-hash: 2f954a50e3
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: e4348dc45d
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: 4ab2131ec9
2023-03-27 10:29:44 -07:00
AlexandreSato e75c02e89c caban: fix typo (#27700)
old-commit-hash: 083f008d94
2023-03-26 17:06:33 -07:00
Dean Lee 0899e5628a cabana: improve LogSlider (#27673)
* improve logslider

* fix code indentation
old-commit-hash: 583c4a031f
2023-03-25 16:03:16 -07:00
Dean Lee 5f98b5c0fa cabana: update state after creating new signal (#27690)
old-commit-hash: 8bd4c0f510
2023-03-25 15:39:21 -07:00
Dean Lee b70e95dcbb cabana: support qlogs (#27689)
old-commit-hash: 8150e4a4b8
2023-03-25 15:38:55 -07:00
Dean Lee ac56a33a2d cabana: fix high DPI issues in chart (#27694)
old-commit-hash: c77a0feab4
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: 33afefd346
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: 9c84af296c
2023-03-24 11:01:26 -07:00
Dean Lee 9e0df8b2ed cabana: align signal value vcenter (#27675)
old-commit-hash: f08132475d
2023-03-24 11:01:03 -07:00
Dean Lee 19e20aad94 cabana: fix button geometries (#27659)
old-commit-hash: 1a560a1a6c
2023-03-23 10:19:39 -07:00
Dean Lee 01a5616f82 cabana: improve find similar bits (#27651)
* improve find similar bits

* 2 precision
old-commit-hash: 89d767da49
2023-03-22 11:02:34 -07:00
Dean Lee 634a089845 cabana: sets the line width with floating point precision. (#27653)
old-commit-hash: dcbadc554d
2023-03-22 10:27:23 -07:00
Adeeb Shihadeh 7e6079465e plotjuggler: update controls mismatch layout
old-commit-hash: 5e269b25c4
2023-03-18 20:03:00 -07:00
Dean Lee 4cf04f5b0a cabana: display zoom range while dragging rubber-band selection (#27620)
old-commit-hash: 529ba41825
2023-03-18 14:34:11 -07:00
Dean Lee 3d2066272b cabana: set min-max values from size when creating a new signal. (#27589)
old-commit-hash: 741d26b025
2023-03-17 16:18:38 -07:00
Dean Lee 35e5b4d927 cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) (#27601)
* refactor streams

* helper function xLessThan

* fix fill gaps
old-commit-hash: 74db5a4b42
2023-03-17 10:16:14 -07:00
Harald Schäfer 515645da51 LaikaD new cache version (#27596)
old-commit-hash: 38cb42f76a
2023-03-15 20:26:19 -07:00
Dean Lee ee692c5bec cabana: eliminate deep copy of events in live stream mode (#27588)
old-commit-hash: f00c108acb
2023-03-15 10:54:22 -07:00
Dean Lee 83290c336b cabana: fix incorrect current ts in live stream mode (#27578)
old-commit-hash: 696cbb3e24
2023-03-14 11:31:57 -07:00
Willem Melching 918bad4847 cabana: DBCManager only expose methods/signals through MessageId (#27540)
old-commit-hash: 0afd3bab34
2023-03-14 11:31:04 -07:00
Willem Melching da54ce208f cabana: show signal values with consistent number of digits (#27556)
old-commit-hash: b591b0c764
2023-03-14 11:29:00 -07:00
Dean Lee c95ca5a1d5 cabana: fix hang on scrubbing in zommed chart (#27568)
old-commit-hash: d09a9a08fc
2023-03-13 10:25:16 -07:00
Willem Melching e8105f0413 cabana: extend max chart range to 30 minutes (#27555)
old-commit-hash: fc44ed63d7
2023-03-11 12:47:53 -08:00
Dean Lee 41c03ff406 cabana: split events into chunks and processed concurrently (#27562)
old-commit-hash: dc31c50aa7
2023-03-11 12:47:34 -08:00
Willem Melching 65e0d40250 cabana: use ID as NEW_MSG_ suffix (#27554)
* cabana: use ID as NEW_MSG_ suffix

* start suffix at _1
old-commit-hash: 0fb8e97480
2023-03-10 13:29:11 -08:00
Willem Melching 612d7aee6b cabana: create autosave file when there are unsaved changes (#27542)
old-commit-hash: ee615a3077
2023-03-10 11:21:34 -08:00