Commit Graph

40 Commits

Author SHA1 Message Date
Dean Lee
be4e995d9b cabana: fix dark theme detection to work with system theme (#35690)
fix dark theme detection to work with system theme
2025-07-11 09:16:38 -07:00
Dean Lee
9e8815def4 cabana: miscellaneous bug fixes and enhancements (#34297)
* toHexString

* use QToolBar

* fix incorrect groove rect

* limit CAN_MAX_DATA_BYTES

* add series type selector to chart toolbar

* dim inactive messages

* rename

* add help to chart

* cleanup
2024-12-21 13:49:09 -08:00
Dean Lee
a18df70a3f cabana: simplify stream management and remove problematic autosave feature (#32945)
simplify code and remove problematic code
old-commit-hash: c17c34187b
2024-07-10 15:10:24 -07:00
Dean Lee
dbf095522f cabana: bug fixes and improvements (#32934)
bug fixes and improvements
old-commit-hash: 36815cc6d5
2024-07-08 14:50:31 -07:00
Dean Lee
43197fb8e8 cabana: fix chart value tip flickers when the mouse moves over it (#32796)
fix chart value tip flickers
old-commit-hash: 5aac2e5a89
2024-06-21 13:29:40 -07:00
Dean Lee
06aed0617a cabana: avoid dead locks and improve responsiveness (#32740)
avoid dead locks and improve responsive
old-commit-hash: 865b98a5c4
2024-06-16 12:32:45 -07:00
Dean Lee
a854878499 cabana: Fix visibility issue for a single data point in series (#32749)
Fix visibility issue for a single data point in series
old-commit-hash: 38529c5057
2024-06-13 23:38:02 -07:00
Dean Lee
8df37a97d3 cabana: Improve seeking and zooming (#32334)
* Improve seeking and zooming

* No repeated calculation of freq

* set min zoom seconds to 10ms
old-commit-hash: d72f000d98
2024-05-03 02:42:29 -07:00
Dean Lee
65660350dd cabana: show enum string in chart tooltip (#32303)
old-commit-hash: 37877185f8
2024-04-27 16:31:48 -07:00
Dean Lee
f372bf3a1b cabana: some improvements (#32161)
some improvements
old-commit-hash: 2d1078ee5b
2024-04-24 15:56:25 -07:00
Dean Lee
2a2988f180 cabana: fix double comparisons (#30468)
compare double with epsilon
old-commit-hash: 7ded7a0720
2023-11-14 21:44:22 -08:00
Dean Lee
efa9cce3de cabana: allocate qt objects on the heap instead of stack (#30374)
allocate qobject in heap
old-commit-hash: 86efd70fa9
2023-11-09 20:20:48 -08:00
Dean Lee
9b5e02d668 cabana: fix QChart leak (#30369)
fix QChart leak
old-commit-hash: f5279284f5
2023-11-03 11:16:58 -07:00
Dean Lee
83678f7a87 cabana/chart: populate the points incrementally (#30326)
* populate the points incrementally

* less spacing
old-commit-hash: 57621afcb0
2023-10-25 10:56:49 -07:00
Adeeb Shihadeh
a9153a39cc 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>
old-commit-hash: 377722fd5e
2023-10-03 15:31:26 -07:00
Dean Lee
ae0332d3db cabana/chart: add contex menu (#29957)
old-commit-hash: 50cca99e45
2023-09-18 16:14:54 -07:00
Dean Lee
9700838c6c cabana/chart: fix value overflow (#29924)
fix value overflow
old-commit-hash: 6a72d53296
2023-09-15 03:20:27 -07:00
Dean Lee
fd355cc2f2 cabana/chart: use different colors to distinguish similar signals (#29890)
* Use different colors to distinguish similar signals

* check hueF value

* lighter
old-commit-hash: 34f5cad4e7
2023-09-13 03:03:16 -07:00
Dean Lee
916f083499 cabana: improve precision of timeline (#29872)
old-commit-hash: d9f107a2c9
2023-09-12 19:49:59 -07:00
Dean Lee
0d7e17c995 cabana/chart: fix rubber band precision issue (#29887)
fix rubber band precision issue
old-commit-hash: 11d157369b
2023-09-11 22:56:40 -07:00
Dean Lee
c7efe08e08 cabana: add comparision operator for CanEvent (#29864)
old-commit-hash: ef4c963c60
2023-09-10 16:09:22 -07:00
Dean Lee
97e9d55588 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2023-08-23 13:25:17 -07:00
Dean Lee
3648506b7c cabana: set border color for scatter series (#29408)
old-commit-hash: 9dac6b66f9
2023-08-15 10:28:48 -07:00
Dean Lee
841f8bfb3f cabana: improve timeline (#28801)
old-commit-hash: 059529cae2
2023-07-04 12:03:08 -07:00
Dean Lee
c5543bf21d 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
old-commit-hash: e08569b0f3
2023-06-13 13:22:03 -07:00
Dean Lee
eba8100ea5 cabana: refactor dbc manager (#28445)
* rafactor signal

* cleanup

* refacto dbcmanager

* refactor dbcmanger
old-commit-hash: ff4aae85fe
2023-06-08 13:41:55 -07:00
Angus Gratton
f2ed4745c4 Cabana: Improve contrast when using dark themes (#28389)
old-commit-hash: 7cb4adfebb
2023-06-06 22:22:06 -07:00
Dean Lee
6eef545e9f cabana: fix segfault on screen changed (#28233)
fix segfault on scrrenChanged
old-commit-hash: e6c9e764c0
2023-05-19 03:01:38 -07:00
Dean Lee
6ebc95c87d cabana: clear all cached values in chart after changing signal properties in live mode (#28125)
old-commit-hash: d7adee9766
2023-05-07 16:48:21 -07:00
Dean Lee
175af7f687 cabana: display the actual signal time on the track line (#28080)
Display the actual signal time on the track line
old-commit-hash: 50e6c43efd
2023-05-02 12:46:28 -07:00
Dean Lee
4a318e17bd 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
old-commit-hash: 45f1f764ea
2023-04-29 13:27:37 -07:00
Dean Lee
31566c8b8f cabana: set the capacity of points from cached events (#28032)
old-commit-hash: a91deca39e
2023-04-26 09:54:42 -07:00
Dean Lee
2b9c35ddf7 cabana: support all features except video in live stream mode. (#27994)
old-commit-hash: 91dc064ac7
2023-04-21 13:23:17 -07:00
Willem Melching
539a46d989 cabana: fix crash on MacOS when combining graphs (#27977)
old-commit-hash: 2cf2e784cf
2023-04-19 13:20:53 -07:00
Dean Lee
70800c6397 cabana: refactor the cache for CAN events (#27969)
old-commit-hash: 8ad2d84aeb
2023-04-19 10:44:52 -07:00
Dean Lee
d8637d0dd3 cabana: reduce the number of ticks on the Y-axis (#27964)
old-commit-hash: de62972e2c
2023-04-18 22:48:36 -07:00
Dean Lee
ab69c0ae9f cabana: fix chart high-dpi issues (#27912)
* fix high-dpi issues

* cleanup

* clear chart cache on screenChanged

* cleanup
old-commit-hash: 29a3b46034
2023-04-14 10:22:59 -07:00
Dean Lee
e46c9899c1 cabana: fix tooltip will not show if chart is partial visible. (#27897)
* use horizontalSpacing

* fix chart toopl tip
old-commit-hash: d425f9d1e6
2023-04-13 19:51:43 -07:00
Dean Lee
920df8f725 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
old-commit-hash: f63fe15637
2023-04-12 15:59:44 -07:00
Dean Lee
dcb8ea01b3 cabana: split chart to multiple files (#27871)
* git mv

* split file

* fix includes

* split tiplabel out
old-commit-hash: 57bf782872
2023-04-11 22:30:15 -07:00