Commit Graph

937 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
6f40f0d442 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
2023-03-08 10:56:54 -08:00
Dean Lee
ddcafeb7dc cabana: improve the performance of updating TreeView in real-time. (#27517) 2023-03-07 10:08:33 -08:00
Dean Lee
c2018d6bf2 cabana: use a segment tree to solve range queries in O(log n) time complexity (#27498) 2023-03-05 16:03:44 -08:00
Dean Lee
2de085d39d cabana: faster copy events (#27499) 2023-03-05 15:55:22 -08:00
Dean Lee
6c4320559a replay: fixed the status is always "loading" if there is no carState in events (#27481) 2023-03-02 22:30:12 -08:00
Dean Lee
afc24f08d6 cabana: fix wrong tooltip (#27480) 2023-03-01 21:54:07 -08:00
Dean Lee
85a37d276c cabana: recalc y-axis label width after unit change (#27466)
recalc width
2023-02-28 23:41:28 -08:00
Dean Lee
8d317ef51c cabana: press F11 to toggle fullscreen (#27455) 2023-02-28 15:50:30 -08:00
Dean Lee
ce3e9d5649 cabana: fix gaps in step line between chunks (#27447) 2023-02-27 15:51:23 -08:00
Dean Lee
78116029d3 cabana: replace hardcoded margins, colors, spacing with values from style. (#27449)
replace hardcoded margins, colors, spacing

improve performance of MessageBytesDelegate
2023-02-25 14:27:18 -08:00
Dean Lee
608ac253df cabana: right align signal values & fixed text overflow (#27444)
right align the signal values
2023-02-23 20:02:46 -08:00
Dean Lee
dc4ebeb29c cabana: added a new series type to chart: step line (#27422)
* add step line series

* create buttons in createToolButtons

* add inline function clearTrackPoints

* do not show tooltip if series is invisible

* use QActionGroup
2023-02-23 10:45:59 -08:00
Willem Melching
a5644faa3f cabana: show units (#27433)
* show units on chart y axis

* show in signal list

* show in historyview

* use clear()
2023-02-23 10:45:13 -08:00
Willem Melching
4e0a3aa0d5 cabana: show bus in own column (#27434) 2023-02-23 10:44:53 -08:00
Dean Lee
c1be6d945b cabana: dispaly current FPS & cached minitues on statusbar (#27430)
dispaly current FPS & cached minitues on statusbar
2023-02-22 20:44:33 -08:00
Kurt Nistelberger
6b4ac801e7 laikad: use new cache param (#27404)
* add backward compatibility

* rename laikad cache file

* rm and update

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-22 14:11:04 -08:00