Commit Graph

1058 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 86dd0923d4 bump opendbc (#28006) 2023-04-24 13:52:35 -07:00
Dean Lee aabbe9ff18 cabana: fixed incorrect comparison (#28007) 2023-04-23 18:20:43 -07:00
Adeeb Shihadeh d5ab1e33c2 scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
2023-04-22 15:24:45 -07:00
Adeeb Shihadeh 2bc761acee pj: add SOF/EOF camera timings to layout 2023-04-21 19:34:13 -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 d0b309ab0d MacOS: link against openssl@3.0 (#27978) 2023-04-19 13:31:19 -07:00
Willem Melching 31cdb8de4c cabana: fix shadowed variable in abstractstream.cc (#27976) 2023-04-19 13:31:03 -07:00
Willem Melching 2cf2e784cf cabana: fix crash on MacOS when combining graphs (#27977) 2023-04-19 13:20:53 -07:00
Adeeb Shihadeh e3bd28bddf tools: improved CAN replay (#27975) 2023-04-19 11:46:22 -07:00
Willem Melching 7f5cda00b5 cabana: more advanced DBC management features (#27968)
* cabana: improve menu to manage individual DBCs

* remove from single bus

* comments

* close explicitly

* new before open

* whitespace

* remove old code

* clipboard actions

* cleanup actions

* sections instead of nested menu

* consistent bus format
2023-04-19 10:49:30 -07:00
Dean Lee 590b1bc206 cabana: startup stream chooser dialog (#27938)
* new StreamDialog

* choose dbc file

* update last_dir

* move to /streams

* cleanup

* add stretch

* catch panda exception

* cleanup

* cleanup

* small cleanup

* fix pandaStream crash caused by a failed connection

* static function to create stream widget

* cleanup
2023-04-19 10:49:06 -07:00
Willem Melching 475903e244 cabana: enable Hi-DPI support on MacOS (#27965) 2023-04-19 10:48:36 -07:00
Willem Melching 8da5745970 cabana: use cyan/red coloring for values that move mostly up/down (#27966) 2023-04-19 10:45:07 -07:00