Commit Graph

1024 Commits

Author SHA1 Message Date
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
Dean Lee
8ad2d84aeb cabana: refactor the cache for CAN events (#27969) 2023-04-19 10:44:52 -07:00
Dean Lee
f9568e9818 cabana: make head section movable (#27971)
* set sections movable

* change setting key to v3

* add comment

* remove restorestate from MainWindow
2023-04-19 10:28:09 -07:00
Dean Lee
de62972e2c cabana: reduce the number of ticks on the Y-axis (#27964) 2023-04-18 22:48:36 -07:00
Willem Melching
af5f769d7c cabana: fix MacOS build (#27950) 2023-04-18 12:18:33 -07:00
Angus Gratton
ed6e7db3cf replay framereader: Log in some unlikely failure paths (#27942) 2023-04-18 12:17:45 -07:00
Dean Lee
dc4b7b37c0 cabana: fix PandaStream crash if no panda found (#27948) 2023-04-18 10:22:57 -07:00
Willem Melching
fbe70c43a4 cabana: make highlight fade time independent of playback speed (#27951) 2023-04-18 09:20:42 -07:00
Willem Melching
9c88c3fe4c cabana: fix displaying zero length messages (#27953) 2023-04-18 09:19:51 -07:00
Dean Lee
6ad4017fd8 cabana: fix unable to scroll to the right edge of the message list. (#27947)
* fix scroll issue

* resize bytes section after model reset
2023-04-17 23:00:05 -07:00
Cameron Clough
3cd00a9b6c tools: add cabana to README 2023-04-17 17:39:03 -07:00
Willem Melching
1016c3f97c cabana: refactor new msg/signal name generation (#27931) 2023-04-17 15:37:41 -07:00
Willem Melching
2a981f5531 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>
2023-04-17 15:37:26 -07:00
Dean Lee
a324d79fa3 cabana: fixed the freq column for high-freq messages may be incorrectly displayed as a --. (#27940) 2023-04-17 15:08:22 -07:00
Dean Lee
30ff0bface 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
2023-04-17 15:08:08 -07:00
Dean Lee
f79654a1e7 cabana: some improvements to messages view (#27935)
* improve messageswidget

* remove double semicolon
2023-04-17 13:39:43 -07:00
Willem Melching
d06936843b cabana: remove msg on removing last signal (#27933) 2023-04-17 09:53:04 -07:00
Willem Melching
0f22bb50de cabana: add setting to choose preferred drag direction for new signals (#27932) 2023-04-17 09:52:45 -07:00
Dean Lee
ed1f03dc41 cabana: paint sparkline in threads (#27925)
* multiple threading realtime sparkline

* delay visible

* remove msg_id

* cleanup
2023-04-16 10:59:24 -07:00
Dean Lee
48f8c02cf1 cabana: update recent files in menu after save as (#27926) 2023-04-16 09:55:03 -07:00
Dean Lee
f5d66fa2a9 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
2023-04-15 16:25:24 -07:00
Dean Lee
6f801031e2 cabana: choose camera type in open route dialog (#27910)
* choose camera type

* use combobox

* cleanup
2023-04-14 11:31:48 -07:00
Dean Lee
29a3b46034 cabana: fix chart high-dpi issues (#27912)
* fix high-dpi issues

* cleanup

* clear chart cache on screenChanged

* cleanup
2023-04-14 10:22:59 -07:00
Dean Lee
f77930f569 cabana: display chart count in tab (#27853)
display chart count in tabbar
2023-04-13 22:03:57 -07:00
Dean Lee
e3a19ff074 cabana: support logging live stream (#27884)
support logging live stream
2023-04-13 19:53:39 -07:00
Dean Lee
d425f9d1e6 cabana: fix tooltip will not show if chart is partial visible. (#27897)
* use horizontalSpacing

* fix chart toopl tip
2023-04-13 19:51:43 -07:00
Dean Lee
860e843af6 cabana: support display hex bytes in multiple lines. (#27901)
* display hex bytes in multiple lines

* default is true

* cleanup
2023-04-13 16:26:58 -07:00
Willem Melching
48ae73fb93 cabana: fix new chart button placement on Windows (#27895) 2023-04-13 11:40:06 -07:00
Willem Melching
777c5c1a81 cabana: signalview.cc add missing <QHelpEvent> include (#27894) 2023-04-13 11:36:44 -07:00
Willem Melching
d8e9c44c76 cabana: do not try to save empty wildcard DBC (#27898)
* cabana: do not try to save empty wildcard DBC

* use reference
2023-04-13 11:09:14 -07:00
Dean Lee
f63fe15637 cabana: support splitting chart (#27887)
* split chart

* fixed elided axisY label issues

* fade in chart
2023-04-12 15:59:44 -07:00
Dean Lee
57bf782872 cabana: split chart to multiple files (#27871)
* git mv

* split file

* fix includes

* split tiplabel out
2023-04-11 22:30:15 -07:00
Dean Lee
f15cb01137 cabana: speed up parsing can events (#27874)
speed up parsing can events

cleanup include
2023-04-11 19:35:11 -07:00
Dean Lee
deeb7cff9f cabana: fix valgrind warnings related to uninitialized values (#27851)
fix valgrind warnings related to uninitialized values
2023-04-10 19:07:05 -07:00
Dean Lee
7fff874755 cabana: fix thumbnail position issue (#27852)
* fix thumbnail position issue on WSL

* continue

* remove Qt::tool

* set parent
2023-04-10 17:33:27 -07:00