Commit Graph

47 Commits

Author SHA1 Message Date
Dean Lee
d72f000d98 cabana: Improve seeking and zooming (#32334)
* Improve seeking and zooming

* No repeated calculation of freq

* set min zoom seconds to 10ms
2024-05-03 02:42:29 -07:00
Dean Lee
37877185f8 cabana: show enum string in chart tooltip (#32303) 2024-04-27 16:31:48 -07:00
Dean Lee
2d1078ee5b cabana: some improvements (#32161)
some improvements
2024-04-24 15:56:25 -07:00
Robbe Derks
eb805e889e [Cabana] Fix segfault in sparkline (#30870) 2023-12-31 13:02:05 -08:00
Dean Lee
7ded7a0720 cabana: fix double comparisons (#30468)
compare double with epsilon
2023-11-14 21:44:22 -08:00
Dean Lee
86efd70fa9 cabana: allocate qt objects on the heap instead of stack (#30374)
allocate qobject in heap
2023-11-09 20:20:48 -08:00
Dean Lee
f5279284f5 cabana: fix QChart leak (#30369)
fix QChart leak
2023-11-03 11:16:58 -07:00
Dean Lee
a46544f708 cabana/sparkline: Fix "Painter not active" warning (#30370)
fix painter not active
2023-11-03 11:16:48 -07:00
Dean Lee
01610128bb cabana: support suppress highlighted bits (#30336)
* support suppress highlighted bits

d

* faster filtering and sorting

* improve livestream

* specify the context in the connections

* remove inline
2023-10-30 09:47:23 -07:00
Dean Lee
952838335d cabana: improve playback controller (#30325)
improve playback controller
2023-10-25 10:57:09 -07:00
Dean Lee
57621afcb0 cabana/chart: populate the points incrementally (#30326)
* populate the points incrementally

* less spacing
2023-10-25 10:56:49 -07:00
Dean Lee
818d29818f cabana: reduce minimum size (#30223)
reduce minimumsize
2023-10-12 11:09:32 -07:00
Dean Lee
47813ae8b5 cabana: fix crash when switching dbc file (#30227)
fix crash when switching dbc file
2023-10-12 11:09:17 -07:00
Adeeb Shihadeh
377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Dean Lee
50cca99e45 cabana/chart: add contex menu (#29957) 2023-09-18 16:14:54 -07:00
Dean Lee
6a72d53296 cabana/chart: fix value overflow (#29924)
fix value overflow
2023-09-15 03:20:27 -07:00
Dean Lee
0bd9df3193 cabana: bug fixes (#29902)
* fix freq

* fix chart legend alignment issue
2023-09-13 12:52:56 -07:00
Dean Lee
34f5cad4e7 cabana/chart: use different colors to distinguish similar signals (#29890)
* Use different colors to distinguish similar signals

* check hueF value

* lighter
2023-09-13 03:03:16 -07:00
Dean Lee
d9f107a2c9 cabana: improve precision of timeline (#29872) 2023-09-12 19:49:59 -07:00
Dean Lee
11d157369b cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
2023-09-11 22:56:40 -07:00
Dean Lee
ef4c963c60 cabana: add comparision operator for CanEvent (#29864) 2023-09-10 16:09:22 -07:00
Dean Lee
2d99521e75 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-23 13:25:17 -07:00
Dean Lee
9dac6b66f9 cabana: set border color for scatter series (#29408) 2023-08-15 10:28:48 -07:00
Dean Lee
059529cae2 cabana: improve timeline (#28801) 2023-07-04 12:03:08 -07:00
Dean Lee
2ebd7ab088 cabana: fix segfault when switching DBC files. (#28587) 2023-06-17 20:30:17 +01:00
Dean Lee
e08569b0f3 cabana: support multiplexed signals (#28309)
* support muxed signals

* write multiplexor in generateDBC

* edit multiplex_switch_value in signalView

* no overlapping warning for mux signals

* group signals by multiplexer indicator

* display freq for each multiplexed signals

* remove all multiplexed signals after switch deleted

* disable switch value

* cleanup

* historyView: use getValue

* sort by switch value

* check address

* rename variables

* rename signale type

* parse multiplexed signals in dbcmanater

* cache signal color in member variable

* cleanup num_decimals

* remove sources from dbcmanager and cleanup code

* fix sort

* check mltiplex in operator==

* fix sizehint

* convert multipledxed to normal after changing multiplxor to normal

* throw error on multiple 'M' signals

* add comment

* parse multipled signals in test case

* cleanup

* change order

* cleanup open

* display multiplexed/overlapping signals in binaryview

* sort overlapped signals by size

* refactor dbcmanager

* trimmed

* parse multiplexed signals in test case

* cleanup

* merge master

* space

* use pointer for sigs

* alldbcFiles

* cleanup

* cleanup sparkline

* use std::vector

* skip draw sparkline if isnull

* bigger capacity
2023-06-13 13:22:03 -07:00
Dean Lee
ff4aae85fe cabana: refactor dbc manager (#28445)
* rafactor signal

* cleanup

* refacto dbcmanager

* refactor dbcmanger
2023-06-08 13:41:55 -07:00
Angus Gratton
7cb4adfebb Cabana: Improve contrast when using dark themes (#28389) 2023-06-06 22:22:06 -07:00
Dean Lee
a26e6d1633 cabana: supports switching streams on the fly (#28081)
* open stream

* use std::atomic::exchange

* emit streamStarted immediately
2023-05-24 20:47:37 -07:00
Dean Lee
e6c9e764c0 cabana: fix segfault on screen changed (#28233)
fix segfault on scrrenChanged
2023-05-19 03:01:38 -07:00
Dean Lee
d7adee9766 cabana: clear all cached values in chart after changing signal properties in live mode (#28125) 2023-05-07 16:48:21 -07:00
Dean Lee
4ed6412ee5 cabana: Make the close button on TabBar look consistent and adaptable to different templates. (#28065)
consistent and adaptable to different templates
2023-05-04 11:27:03 -07:00
Dean Lee
50e6c43efd cabana: display the actual signal time on the track line (#28080)
Display the actual signal time on the track line
2023-05-02 12:46:28 -07:00
Dean Lee
e5678d3a3f cabana: fix the timeline position of the newly created chart was always 0 when paused. (#28079) 2023-05-02 10:44:47 -07:00
Dean Lee
45f1f764ea cabana: display current time & values in chart (#28042)
* display current time&value in chart

* cleanup

* use macro

* use BrightText

* use x-square

* tiplabel: set point size 9

* add 1 point offset

* change Light color

* lighter color

* use const iterator to avoid implict sharing detachs
2023-04-29 13:27:37 -07:00
Dean Lee
a91deca39e cabana: set the capacity of points from cached events (#28032) 2023-04-26 09:54:42 -07:00
Dean Lee
7f856eafd9 cabana: fix wrong total seconds in replay mode (#28015)
* fix total_sec

* fix chart max range

* fix all_evnets order & use vector to improve performance

* dynamic updating max time

* get real time from qlog

* Update tools/cabana/streams/livestream.cc

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-25 21:49:10 -07:00
Dean Lee
91dc064ac7 cabana: support all features except video in live stream mode. (#27994) 2023-04-21 13:23:17 -07:00
Willem Melching
2cf2e784cf cabana: fix crash on MacOS when combining graphs (#27977) 2023-04-19 13:20:53 -07:00
Dean Lee
8ad2d84aeb cabana: refactor the cache for CAN events (#27969) 2023-04-19 10:44:52 -07:00
Dean Lee
de62972e2c cabana: reduce the number of ticks on the Y-axis (#27964) 2023-04-18 22:48:36 -07:00
Dean Lee
ed1f03dc41 cabana: paint sparkline in threads (#27925)
* multiple threading realtime sparkline

* delay visible

* remove msg_id

* cleanup
2023-04-16 10:59:24 -07:00
Dean Lee
29a3b46034 cabana: fix chart high-dpi issues (#27912)
* fix high-dpi issues

* cleanup

* clear chart cache on screenChanged

* cleanup
2023-04-14 10:22:59 -07:00
Dean Lee
f77930f569 cabana: display chart count in tab (#27853)
display chart count in tabbar
2023-04-13 22:03:57 -07:00
Dean Lee
d425f9d1e6 cabana: fix tooltip will not show if chart is partial visible. (#27897)
* use horizontalSpacing

* fix chart toopl tip
2023-04-13 19:51:43 -07:00
Dean Lee
f63fe15637 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
2023-04-12 15:59:44 -07:00
Dean Lee
57bf782872 cabana: split chart to multiple files (#27871)
* git mv

* split file

* fix includes

* split tiplabel out
2023-04-11 22:30:15 -07:00