Commit Graph

954 Commits

Author SHA1 Message Date
Dean Lee
e82d7a10d3 cabana: show min and max values in sparkline on hover (#27769) 2023-03-31 13:59:08 -07:00
Dean Lee
aa3b8e5f30 cabana: fixed chat tool tips was displayed outside of the viewport (#27770) 2023-03-31 13:58:50 -07:00
Dean Lee
15a4b60ee6 cabana: display signal value in all charts on mouse hover (#27749)
* display all values

* cleanup

* cleanup

* emit hoverd if tip is visible
2023-03-31 12:48:31 -07:00
Dean Lee
63f888fa3a cabana: fix sparkline overlapping issue (#27766)
* fix sparkline overlapping issue

* cleanup
2023-03-31 11:44:21 -07:00
Willem Melching
ced90c163e cabana: show min and max values in chart tooltip (#27744) 2023-03-31 11:32:27 -07:00
Dean Lee
dd4e07fe7b cabana: fill rows with Qt::BDiagPattern if messag size is incorrect (#27750) 2023-03-30 13:00:06 -07:00
Willem Melching
bec8cb1e30 cabana: fix parts of chart widget not being redrawn (#27742)
* cabana: fix parts of chart widget not being redrawn

* revert others
2023-03-30 12:37:49 -07:00
Willem Melching
ecd82f0408 cabana: fix drawing sparkline at half width on hi-dpi screen (#27746) 2023-03-30 12:37:29 -07:00
Willem Melching
469accbec1 cabana: show string value for val/desc (#27747) 2023-03-30 12:36:54 -07:00
Willem Melching
cf299002f7 cabana: allow zooming to smaller ranges (#27748)
* cabana: allow zooming to smaller ranges

* remove comment
2023-03-30 12:36:34 -07:00
Dean Lee
f3664b658b add libncurses5 to ubuntu_setup.sh (#27751) 2023-03-30 12:24:41 -07:00
Willem Melching
e0afaa4eee cabana: fix merging sources for already open DBC file (#27715)
* fix build

* fix merging sources
2023-03-29 13:17:46 -07:00
Dean Lee
d6961152b8 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
2023-03-29 12:43:43 -07:00
Dean Lee
eee3c8ee60 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
2023-03-28 13:25:13 -07:00
Dean Lee
a1fb8d2480 cabana: improve video thumbnail (#27711) 2023-03-28 13:24:54 -07:00
Dean Lee
8903e03c88 cabana: move dbc related files to dbc/ (#27712)
* move dbc related files to dbc/

* move generate_dbc_json.py to dbc/
2023-03-28 11:52:28 -07:00
Dean Lee
2f954a50e3 cabana: clear zoom stack after reset zoom (#27716) 2023-03-28 11:50:19 -07:00
Willem Melching
e4348dc45d cabana: go to previous zoom window (#27702)
* cabana: go to previous zoom level

* zoom undo on right click

* catch mousepress event on linux
2023-03-27 12:45:55 -07:00
Willem Melching
4ab2131ec9 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
2023-03-27 10:29:44 -07:00
AlexandreSato
083f008d94 caban: fix typo (#27700) 2023-03-26 17:06:33 -07:00
Dean Lee
583c4a031f cabana: improve LogSlider (#27673)
* improve logslider

* fix code indentation
2023-03-25 16:03:16 -07:00
Dean Lee
8bd4c0f510 cabana: update state after creating new signal (#27690) 2023-03-25 15:39:21 -07:00
Dean Lee
8150e4a4b8 cabana: support qlogs (#27689) 2023-03-25 15:38:55 -07:00
Dean Lee
c77a0feab4 cabana: fix high DPI issues in chart (#27694) 2023-03-25 15:38:41 -07:00
Dean Lee
33afefd346 cabana: enables user to select the zoom area when the mouse press on the data point (#27679)
zoom anywhere
2023-03-24 21:54:41 -07:00
Dean Lee
9c84af296c cabana: clear the old timeline after opening a new route from menu (#27672) 2023-03-24 11:01:26 -07:00
Dean Lee
f08132475d cabana: align signal value vcenter (#27675) 2023-03-24 11:01:03 -07:00
Dean Lee
1a560a1a6c cabana: fix button geometries (#27659) 2023-03-23 10:19:39 -07:00
Dean Lee
89d767da49 cabana: improve find similar bits (#27651)
* improve find similar bits

* 2 precision
2023-03-22 11:02:34 -07:00
Dean Lee
dcbadc554d cabana: sets the line width with floating point precision. (#27653) 2023-03-22 10:27:23 -07:00
Adeeb Shihadeh
5e269b25c4 plotjuggler: update controls mismatch layout 2023-03-18 20:03:00 -07:00
Dean Lee
529ba41825 cabana: display zoom range while dragging rubber-band selection (#27620) 2023-03-18 14:34:11 -07:00
Dean Lee
741d26b025 cabana: set min-max values from size when creating a new signal. (#27589) 2023-03-17 16:18:38 -07:00
Dean Lee
74db5a4b42 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
2023-03-17 10:16:14 -07:00
Harald Schäfer
38cb42f76a LaikaD new cache version (#27596) 2023-03-15 20:26:19 -07:00
Dean Lee
f00c108acb cabana: eliminate deep copy of events in live stream mode (#27588) 2023-03-15 10:54:22 -07:00
Dean Lee
696cbb3e24 cabana: fix incorrect current ts in live stream mode (#27578) 2023-03-14 11:31:57 -07:00
Willem Melching
0afd3bab34 cabana: DBCManager only expose methods/signals through MessageId (#27540) 2023-03-14 11:31:04 -07:00
Willem Melching
b591b0c764 cabana: show signal values with consistent number of digits (#27556) 2023-03-14 11:29:00 -07:00
Dean Lee
d09a9a08fc cabana: fix hang on scrubbing in zommed chart (#27568) 2023-03-13 10:25:16 -07:00
Willem Melching
fc44ed63d7 cabana: extend max chart range to 30 minutes (#27555) 2023-03-11 12:47:53 -08:00
Dean Lee
dc31c50aa7 cabana: split events into chunks and processed concurrently (#27562) 2023-03-11 12:47:34 -08:00
Willem Melching
0fb8e97480 cabana: use ID as NEW_MSG_ suffix (#27554)
* cabana: use ID as NEW_MSG_ suffix

* start suffix at _1
2023-03-10 13:29:11 -08:00
Willem Melching
ee615a3077 cabana: create autosave file when there are unsaved changes (#27542) 2023-03-10 11:21:34 -08:00
Willem Melching
c32a45b5b5 cabana: autocomplete signal names (#27553) 2023-03-10 11:20:59 -08:00
Willem Melching
e4d591ecbf cabana: refactor Msg and Signal into dbc.cc (#27552) 2023-03-10 11:19:37 -08:00
Willem Melching
5b3a72267c cabana: fix changing message size (#27544)
* cabana: fix changing message size

* fix naming signal untitled
2023-03-09 13:14:21 -08:00
Willem Melching
b79f4594c4 cabana: scrub by shift dragging on graph (#27545)
* cabana: scrub by shift dragging on graph

* not while live streaming
2023-03-09 13:14:06 -08:00
Dean Lee
b5d29b550c cabana: get icon size from QStyle::PM_SmallIconSize (#27548) 2023-03-09 13:13:46 -08:00
Dean Lee
9b28897f09 replay: fix incorrect format string in seekTo (#27547) 2023-03-09 13:13:29 -08:00