Commit Graph

1521 Commits

Author SHA1 Message Date
Angus Gratton
7cb4adfebb Cabana: Improve contrast when using dark themes (#28389) 2023-06-06 22:22:06 -07:00
Kacper Rączy
64377a88f9 process_replay: helpers (#28367)
* process_replay helper

* Refactor

* refactor check_enabled uses

* fix __init__

* noqa in __init__ imports

* Move compare_logs outside of process_replay

* Move save_logs to tools.lib.helpers

* Remove save_log from compare_logs

* fix lint issues
2023-06-06 10:31:13 -07:00
Dean Lee
b7a2a921ec cabana: segment live stream logging (#28407) 2023-06-05 09:44:30 -07:00
Angus Gratton
f659d4d44b cabana dbc: Sort signals by name if start bits are equal (#28399) 2023-06-04 14:04:09 -07:00
Angus Gratton
92d8295096 cabana: Add menu item that resets the window layout (#28390) 2023-06-03 14:51:16 -07:00
Dean Lee
67b27b7496 replay: fixed incorrect totalSeconds when there are invalid segments in route (#28388) 2023-06-03 11:43:27 -07:00
Dean Lee
4e738e64e4 cabana: add a test case for dbc parsing (#28383)
test case for dbc parsing
2023-06-02 22:34:37 -07:00
Kacper Rączy
26ad9b32f3 replay: lock uiDebug and userFlag messages behind all flag (#28349)
* Add ui-debug flag, for replaying ui debug states

* Fix flag description

* Replace --ui-debug with --all flag

* Add base_blacklist for services blacklisted by default
2023-06-02 15:17:25 -07:00
Dean Lee
99398176df cabana: Support parsing of multi-line comments (#28345) 2023-06-01 20:52:08 -07:00
Dean Lee
2373f78556 cabana: support displaying&editing overlapping signals in the binary view (#28359) 2023-06-01 10:36:40 -07:00
Dean Lee
a19799cbe9 cabana: fix multiple dialog popups (#28358)
fix multiple popups
2023-06-01 00:04:46 -07:00
Dean Lee
e853af2ca6 cabana: fix seeking issue (#28346)
* fix seekto

* rename loadThumbnail to parseQLog
2023-05-31 11:22:47 -07:00
Dean Lee
2a6458b44e cabana: improve dbc parsing (#28321) 2023-05-27 15:43:42 -07:00
Dean Lee
b0120e30a4 cabana: fix broken message filtering (#28319)
fix message filtering
2023-05-27 14:04:43 -07:00
Dean Lee
9a3897831c cabana: auto stretch last column (#28310) 2023-05-26 11:07:46 -07:00
Dean Lee
54506774f0 cabana: support editing comments for messages (#28299) 2023-05-25 13:38:58 -07:00
Dean Lee
d5d1ca11d4 cabana: support editing dbc files without a stream (#28294)
* no stream mode

* disable tools menu if no stream

* disable splitter

* cleanup

* refactor matchMessage
2023-05-25 10:51:28 -07:00
Dean Lee
53190e926c cabana/MessageViewHeader: fixed header position issue (#28291) 2023-05-25 10:50:36 -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
Kacper Rączy
00ff096ca2 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275) 2023-05-23 19:48:57 -07:00
Dean Lee
36dd49e542 cabana: use double for minimum value & maximum value (#28252) 2023-05-21 12:35:45 -07:00
Dean Lee
9ac73b719f cabana: reject group separator in QDoubleValidator (#28250) 2023-05-21 12:33:38 -07:00
Dean Lee
ac2c87246a cabana: use the same double precision as the dbc file (#28234) 2023-05-19 12:36:11 -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
5b54f0938f cabana: add #include <QObject> in dbcfile.h (#28219) 2023-05-17 00:08:10 -07:00
Comma Device
b7daab0ee0 set ssh enabled in ssh helper script 2023-05-15 19:32:40 -07:00
Dean Lee
13504f5ecf cabana/findSignalDlg: support filter messages by bus/address/time. (#28186) 2023-05-14 10:14:31 -07:00
Dean Lee
10bdcef0fe cabana: add tool to search for possible signals through values. (#28182)
* Add tools to search for possible signals through values.

* use ,
2023-05-13 14:05:14 -07:00
Kacper Rączy
1a5f29ecc6 macOS: disable camerad and sensord build (#28164)
* Disable camerad and sensord on Darwin

* Add gcc@12 to mac_setup as it's required by panda

* Update panda
2023-05-12 13:01:00 -07:00
Adeeb Shihadeh
40dd150fc6 cabana: remove dead image from readme 2023-05-11 12:57:55 -07:00
Dean Lee
f01652cc41 cabana: fix the frequency was incorrect when replay from a specified segment (#28165) 2023-05-11 10:42:25 -07:00
Robbe Derks
5ca14c072f can states plotjuggler layout 2023-05-11 13:38:07 +02:00
Dean Lee
720df4d150 cabana: cleanup DBCFile (#28160) 2023-05-10 13:57:55 -07:00
Willem Melching
3f8fc8f6f8 cabana: partial match on ID filter (#28158) 2023-05-10 10:19:28 -07:00
Dean Lee
933be2e128 cabana: cleanup mainwin (#28142)
* Remove redundant calls to updateLoadSaveMenus()

* cleanup updateLoadSavemenus

* helper function closeFile

* remove redundant calls to remindSaveChanges()

* remove unnecessary call to updateRecentFiles

* cleanup
2023-05-09 10:04:06 -07:00
Dean Lee
f7e024f2f2 cabana: show and edit all messages present in DBC files (#28108)
* show all messages present in DBC files

* set last section stretch

* user can't resize data section

* re-fetch if filtering freq|count|data

* reserve set space

* use contains

* emit signalAdded for all related sources
2023-05-07 16:48:47 -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
Willem Melching
b3a3040d09 cabana: fix rounding error in filter sizehint (#28116) 2023-05-05 11:28:54 -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
Willem Melching
5c9935cc82 cabana: improve panda startup dialog (#28104)
* create combo box for serial numbers

* configure bus speeds
2023-05-04 10:59:26 -07:00
Willem Melching
aa54204c81 cabana: add filter per column (#28034)
* add non functional lineedits

* implement actual filtering

* more efficient modelReset

* less diff

* refactor contains

* make sortMessages static

* cleanup

* regex support

* case insensitive

* uncomment

* set header before restoring state

* force reset

* more regex matching

* update comment

* put back header with clear button

* handle hiding

* handle horizontal scrolling

* whitespace

* dont add that
2023-05-04 10:51:00 -07:00
Willem Melching
b53f748a1a cabana: add option to suppress already known signals (#28106)
* suppress using static mask

* use mask in updateLastMsgsTo

* store mask in cabana::Msg

* update mask in the right places

* actually build mask

* restore setting

* less diff
2023-05-04 10:50:28 -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
a16730a9c4 cabana: fixed segfault when search in signals (#28078) 2023-05-02 11:29:38 -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
64fb5cb922 cabana: fix time is displayed incorrectly when mouse dragged outside of the slider (#28048)
fix time is displayed incorrectly when the mouse is dragged outside of the slider
2023-04-27 14:19:06 -07:00
Dean Lee
a91deca39e cabana: set the capacity of points from cached events (#28032) 2023-04-26 09:54:42 -07:00
Willem Melching
8318d7207b cabana: hide/show columns using context menu (#28033) 2023-04-26 09:54:26 -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