Commit Graph

1045 Commits

Author SHA1 Message Date
Dean Lee 1e58a8e991 cabana/findSignalDlg: support filter messages by bus/address/time. (#28186)
old-commit-hash: 13504f5ecfae23fb7b6302f62be797cdefa10990
2023-05-14 10:14:31 -07:00
Dean Lee f30caf9ec5 cabana: add tool to search for possible signals through values. (#28182)
* Add tools to search for possible signals through values.

* use ,
old-commit-hash: 10bdcef0fe1186ee9bdc59dc04237bae005df22f
2023-05-13 14:05:14 -07:00
Kacper Rączy 870fffd30b 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
old-commit-hash: 1a5f29ecc6a657ec4ecfe9e60b47177e0f1dbad4
2023-05-12 13:01:00 -07:00
Adeeb Shihadeh 0a62304928 cabana: remove dead image from readme
old-commit-hash: 40dd150fc6f6a7da8bd46b47fbede85bf5751860
2023-05-11 12:57:55 -07:00
Dean Lee bd4d5ff3d4 cabana: fix the frequency was incorrect when replay from a specified segment (#28165)
old-commit-hash: f01652cc41590b08371a98f84f36d67f262c428a
2023-05-11 10:42:25 -07:00
Robbe Derks 7133d5b9cc can states plotjuggler layout
old-commit-hash: 5ca14c072f240d564f967f5e2c84b69387dc7b78
2023-05-11 13:38:07 +02:00
Dean Lee c9d56e78a6 cabana: cleanup DBCFile (#28160)
old-commit-hash: 720df4d150913e9ee98165d2bb03a18d7566e746
2023-05-10 13:57:55 -07:00
Willem Melching 2e21af7d26 cabana: partial match on ID filter (#28158)
old-commit-hash: 3f8fc8f6f8635797a61d4c6bb0fa787517d444b7
2023-05-10 10:19:28 -07:00
Dean Lee 13c6a92471 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
old-commit-hash: 933be2e128b363a77ca525554198822629733afc
2023-05-09 10:04:06 -07:00
Dean Lee ca13898b23 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
old-commit-hash: f7e024f2f22139153aa8ee5ce9a9713bd51d99f0
2023-05-07 16:48:47 -07:00
Dean Lee 6ebc95c87d cabana: clear all cached values in chart after changing signal properties in live mode (#28125)
old-commit-hash: d7adee9766909f40e2d534274635b15e75e3737b
2023-05-07 16:48:21 -07:00
Willem Melching 3cd82e36b7 cabana: fix rounding error in filter sizehint (#28116)
old-commit-hash: b3a3040d09f32e45fd21c72d518ac57a29b2f27d
2023-05-05 11:28:54 -07:00
Dean Lee 67d627d73c cabana: Make the close button on TabBar look consistent and adaptable to different templates. (#28065)
consistent and adaptable to different templates
old-commit-hash: 4ed6412ee5c7c41eaf8b6715a8ce030a7ae9aecc
2023-05-04 11:27:03 -07:00
Willem Melching 188aea549c cabana: improve panda startup dialog (#28104)
* create combo box for serial numbers

* configure bus speeds
old-commit-hash: 5c9935cc82bde9f0622c5177464b0b9bb21cbf8e
2023-05-04 10:59:26 -07:00
Willem Melching 3cd1f3560b 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
old-commit-hash: aa54204c81cfd17eeada96df3671e6cbd12ebc01
2023-05-04 10:51:00 -07:00
Willem Melching 10215bc44e 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
old-commit-hash: b53f748a1a328e63dff0a404114c5210eeaf2282
2023-05-04 10:50:28 -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: 50e6c43efd346860c61c8aa053518499c831a624
2023-05-02 12:46:28 -07:00
Dean Lee bd0d42a563 cabana: fixed segfault when search in signals (#28078)
old-commit-hash: a16730a9c44fef2775823a4acd8f4e76bbc7dde3
2023-05-02 11:29:38 -07:00
Dean Lee 4918304e47 cabana: fix the timeline position of the newly created chart was always 0 when paused. (#28079)
old-commit-hash: e5678d3a3f67c9280284281c6854890393e131fb
2023-05-02 10:44:47 -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: 45f1f764ea32f05b51e8e8a84ab6ce7ab8eefd95
2023-04-29 13:27:37 -07:00
Dean Lee 14443527cc 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
old-commit-hash: 64fb5cb9223a2266e7dc617595b4a8564aa8b82f
2023-04-27 14:19:06 -07:00
Dean Lee 31566c8b8f cabana: set the capacity of points from cached events (#28032)
old-commit-hash: a91deca39e932a404b89030bae494588a3be4784
2023-04-26 09:54:42 -07:00
Willem Melching 5c74c4d75d cabana: hide/show columns using context menu (#28033)
old-commit-hash: 8318d7207b96232894580cd5fd8da3f0ff7c0d70
2023-04-26 09:54:26 -07:00
Dean Lee bcc6999411 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>
old-commit-hash: 7f856eafd98eb70d91c6b3e882991f34d1c4c4c8
2023-04-25 21:49:10 -07:00
Adeeb Shihadeh 91e94cc57d bump opendbc (#28006)
old-commit-hash: 86dd0923d48bb503f0117af480d434958ca688c1
2023-04-24 13:52:35 -07:00
Dean Lee b07058407b cabana: fixed incorrect comparison (#28007)
old-commit-hash: aabbe9ff1835345a67213992d026f02c1e97539e
2023-04-23 18:20:43 -07:00
Adeeb Shihadeh 33af4f9cde scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
old-commit-hash: d5ab1e33c20d534d30a3f0dc63c6691f5b23f2a9
2023-04-22 15:24:45 -07:00
Adeeb Shihadeh 68e1b27a20 pj: add SOF/EOF camera timings to layout
old-commit-hash: 2bc761aceeed9b570951f1ce63e0f8d69ad58113
2023-04-21 19:34:13 -07:00
Dean Lee 2b9c35ddf7 cabana: support all features except video in live stream mode. (#27994)
old-commit-hash: 91dc064ac730302ae6e6b38eddd928e702bbd0e1
2023-04-21 13:23:17 -07:00
Willem Melching 51216976d9 MacOS: link against openssl@3.0 (#27978)
old-commit-hash: d0b309ab0d6251acff5d0b7887202d1a694ab734
2023-04-19 13:31:19 -07:00
Willem Melching bbe10913cf cabana: fix shadowed variable in abstractstream.cc (#27976)
old-commit-hash: 31cdb8de4ced73714db085d19bc12d01b2e7fab4
2023-04-19 13:31:03 -07:00
Willem Melching 539a46d989 cabana: fix crash on MacOS when combining graphs (#27977)
old-commit-hash: 2cf2e784cff97ac5804fb96975500b87c08a3a41
2023-04-19 13:20:53 -07:00
Adeeb Shihadeh edca33a78c tools: improved CAN replay (#27975)
old-commit-hash: e3bd28bddfed626440a3d1a43fd8eeb3f881d77c
2023-04-19 11:46:22 -07:00
Willem Melching e32ba8719a 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
old-commit-hash: 7f5cda00b5040a641c7775caf7c6a38b507c5210
2023-04-19 10:49:30 -07:00
Dean Lee 1045c7d836 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
old-commit-hash: 590b1bc2062d8a7f1ec253e0d0c5ab94799524c1
2023-04-19 10:49:06 -07:00
Willem Melching d4cea1f024 cabana: enable Hi-DPI support on MacOS (#27965)
old-commit-hash: 475903e24486be0a5be2bb935db221832c9cd239
2023-04-19 10:48:36 -07:00
Willem Melching 69625b7f6c cabana: use cyan/red coloring for values that move mostly up/down (#27966)
old-commit-hash: 8da57459702736d8ba347965b12465e57041a82b
2023-04-19 10:45:07 -07:00
Dean Lee 70800c6397 cabana: refactor the cache for CAN events (#27969)
old-commit-hash: 8ad2d84aebc29a0cec031f798a6af5c5c202cc27
2023-04-19 10:44:52 -07:00
Dean Lee 7a51caa0af cabana: make head section movable (#27971)
* set sections movable

* change setting key to v3

* add comment

* remove restorestate from MainWindow
old-commit-hash: f9568e98182c0e45226185945c66249de278cfdd
2023-04-19 10:28:09 -07:00
Dean Lee d8637d0dd3 cabana: reduce the number of ticks on the Y-axis (#27964)
old-commit-hash: de62972e2c283882232faca9e309b3cffe0ac6e4
2023-04-18 22:48:36 -07:00
Willem Melching 0a690ea48d cabana: fix MacOS build (#27950)
old-commit-hash: af5f769d7cf5443ca01e753326b751894f786f99
2023-04-18 12:18:33 -07:00
Angus Gratton fdfc2ac6f3 replay framereader: Log in some unlikely failure paths (#27942)
old-commit-hash: ed6e7db3cfca0fe2a393bc50b27dd022f14a68e9
2023-04-18 12:17:45 -07:00
Dean Lee 679ae7865a cabana: fix PandaStream crash if no panda found (#27948)
old-commit-hash: dc4b7b37c050b1e44fa7cebaf39785f94b1450af
2023-04-18 10:22:57 -07:00
Willem Melching ca245b4973 cabana: make highlight fade time independent of playback speed (#27951)
old-commit-hash: fbe70c43a43ae5a3d28d9510d090b6acf5968e1b
2023-04-18 09:20:42 -07:00
Willem Melching 48eb186464 cabana: fix displaying zero length messages (#27953)
old-commit-hash: 9c88c3fe4c88539c6772045c4f6400312ad61fc6
2023-04-18 09:19:51 -07:00
Dean Lee 8a724f649f cabana: fix unable to scroll to the right edge of the message list. (#27947)
* fix scroll issue

* resize bytes section after model reset
old-commit-hash: 6ad4017fd8770a7a4deec7bceff6e96b0b6f51a8
2023-04-17 23:00:05 -07:00
Cameron Clough 25ce3cfd1e tools: add cabana to README
old-commit-hash: 3cd00a9b6cae5865e3b5860f61080cd5bba8cbd7
2023-04-17 17:39:03 -07:00
Willem Melching 23d52ccd2d cabana: refactor new msg/signal name generation (#27931)
old-commit-hash: 1016c3f97c9e710c75380249da29c89b0e7ca8e1
2023-04-17 15:37:41 -07:00
Willem Melching 484eed0acf cabana: support direct streaming from panda over USB (#27936)
* refactor livestream into devicestream

* add panda stream

* unused

* whitespace

* move logging to base class

* add cmdline args

* Update selfdrive/boardd/boardd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f553162ff41dd50ed6921b90ac512efa3d2
2023-04-17 15:37:26 -07:00
Dean Lee 5115b6dc5a cabana: fixed the freq column for high-freq messages may be incorrectly displayed as a --. (#27940)
old-commit-hash: a324d79fa3529c00363fb8a5aa802da2dc81d737
2023-04-17 15:08:22 -07:00