Commit Graph

1024 Commits

Author SHA1 Message Date
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
Dean Lee
8d7e910631 canaba: display the opened dbc files in the window title bar. (#27939)
* show dbc file name on the window title

* Show all dbc files opened on each bus

* check d
old-commit-hash: 30ff0bface71f54cfad292952cc8d94598e37db2
2023-04-17 15:08:08 -07:00
Dean Lee
941765994c cabana: some improvements to messages view (#27935)
* improve messageswidget

* remove double semicolon
old-commit-hash: f79654a1e7e3b6d64bf73859ae58a39d0f0b6f74
2023-04-17 13:39:43 -07:00
Willem Melching
5bb84a0568 cabana: remove msg on removing last signal (#27933)
old-commit-hash: d06936843b8759ce9b1e309620ef690ba99f2a28
2023-04-17 09:53:04 -07:00
Willem Melching
21f2724815 cabana: add setting to choose preferred drag direction for new signals (#27932)
old-commit-hash: 0f22bb50de38dee096442e54d30bf2b8cf8c1175
2023-04-17 09:52:45 -07:00
Dean Lee
40caca7e24 cabana: paint sparkline in threads (#27925)
* multiple threading realtime sparkline

* delay visible

* remove msg_id

* cleanup
old-commit-hash: ed1f03dc41bd508543265e2b4417d7ad2a08d928
2023-04-16 10:59:24 -07:00
Dean Lee
b8fcd32542 cabana: update recent files in menu after save as (#27926)
old-commit-hash: 48f8c02cf14fe764875477fee2c95c746d76f200
2023-04-16 09:55:03 -07:00
Dean Lee
52f0416736 cabana: fix message view performance issues after #27901 (#27908)
* fix message list issues

* override drawBranches, do nothing

* bypass QTreeView::datachanged

* remove data copy in binaryview::updateState

* rename to x_v2
old-commit-hash: f5d66fa2a9b1c09dfcab72e23610379c6960d0da
2023-04-15 16:25:24 -07:00
Dean Lee
4858164287 cabana: choose camera type in open route dialog (#27910)
* choose camera type

* use combobox

* cleanup
old-commit-hash: 6f801031e25dda537abeb50d2ee667b4c18792dc
2023-04-14 11:31:48 -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: 29a3b460343e62f31d0878a7dfd693891ff7a6f0
2023-04-14 10:22:59 -07:00
Dean Lee
e9bdfdd807 cabana: display chart count in tab (#27853)
display chart count in tabbar
old-commit-hash: f77930f5697d45c83919b8b579ace9a7b2f9c9e1
2023-04-13 22:03:57 -07:00
Dean Lee
6a98fd2bfd cabana: support logging live stream (#27884)
support logging live stream
old-commit-hash: e3a19ff074857876dca3c730f6ddc3c6e191aaf5
2023-04-13 19:53:39 -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: d425f9d1e61a29090e088ff158ff0ac792287fda
2023-04-13 19:51:43 -07:00
Dean Lee
3e13b0be9d cabana: support display hex bytes in multiple lines. (#27901)
* display hex bytes in multiple lines

* default is true

* cleanup
old-commit-hash: 860e843af6a3afd153790b7d8e3060b9b586299f
2023-04-13 16:26:58 -07:00
Willem Melching
e8833c7d93 cabana: fix new chart button placement on Windows (#27895)
old-commit-hash: 48ae73fb9325ceb8cf9e71ce3e6d1ae3e15d1a7c
2023-04-13 11:40:06 -07:00
Willem Melching
36bf8e676f cabana: signalview.cc add missing <QHelpEvent> include (#27894)
old-commit-hash: 777c5c1a813984618fdb8e09fe58dd71bb59fab0
2023-04-13 11:36:44 -07:00
Willem Melching
59dfef9d60 cabana: do not try to save empty wildcard DBC (#27898)
* cabana: do not try to save empty wildcard DBC

* use reference
old-commit-hash: d8e9c44c76961363ba633aca2692aacf2e8d006b
2023-04-13 11:09:14 -07:00
Dean Lee
920df8f725 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
old-commit-hash: f63fe156379cc225f7685a692ed9e3d1965fc5dc
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: 57bf782872461a3328bbd9121c7bbd207abec2e5
2023-04-11 22:30:15 -07:00
Dean Lee
a5cb283b27 cabana: speed up parsing can events (#27874)
speed up parsing can events

cleanup include
old-commit-hash: f15cb01137ca4eb9bad0d134795919739969e04d
2023-04-11 19:35:11 -07:00
Dean Lee
83e9654b58 cabana: fix valgrind warnings related to uninitialized values (#27851)
fix valgrind warnings related to uninitialized values
old-commit-hash: deeb7cff9fcdd9d8e2f282db56b3bb16b3c49550
2023-04-10 19:07:05 -07:00
Dean Lee
a9f0e50aba cabana: fix thumbnail position issue (#27852)
* fix thumbnail position issue on WSL

* continue

* remove Qt::tool

* set parent
old-commit-hash: 7fff874755bb0abddb8e0b1dd667bd3a7cf272f5
2023-04-10 17:33:27 -07:00