Commit Graph

1091 Commits

Author SHA1 Message Date
Dean Lee
88840e9fe4 cabana: simplifying endian conversion (#28601)
old-commit-hash: 3c398b2e2f2afdc4f81d968e4b0fb025d8190cab
2023-06-20 10:56:40 -07:00
Dean Lee
b31de7db56 cabana: fixed the multi-threading issues of AbstractStream (#28590)
* fix multi-threading issues

* protect masks with mutex
old-commit-hash: e80440dc5d76c12cd6782b6a3446b12f6c62016e
2023-06-19 10:21:16 -07:00
Dean Lee
938bee9415 cabana: fix segfault when switching DBC files. (#28587)
old-commit-hash: 2ebd7ab088ade61bbf661c140483fc477d444bc2
2023-06-17 20:30:17 +01:00
Adeeb Shihadeh
4894158e7b tools: update windows instructions
old-commit-hash: d0369521babe74082bbe232f9476a5047f20433c
2023-06-16 11:06:33 -07:00
Dean Lee
a7ce39a89e cabana: Prevent dialog that load autosaved file from blocking replay->start() (#28558)
old-commit-hash: 4891a234e2ccca943998387cb3f0246e98b63667
2023-06-15 10:35:30 -07:00
Cameron Clough
b3055ca4ff cabana: round signal raw value for value description
old-commit-hash: e57f3ab4daeb18ac1c8786b3b5c7d0ad7b000646
2023-06-15 12:46:08 +01:00
Dean Lee
7fc2927b73 cabana: use raw signal value to match value descriptions (#28554)
old-commit-hash: 6f54ebe1103c7960afcd2f3f550e56ba9a7e4667
2023-06-15 11:50:14 +01:00
Harald Schäfer
cbe8057c55 Fix CARLA simulation (#28541)
* logmessaged conflicts with onnxrunner

* More fixes, now engages

* Fix can properly

* Otherwise it faults

* Put check back

* remove more hacks

* remove more hacks

* Not relevant anymore

* Narrow camera default
old-commit-hash: c5c9d5b92107ed59f3fb70a356f82b3cbe0b3da9
2023-06-13 22:54:37 -07:00
Dean Lee
c5543bf21d cabana: support multiplexed signals (#28309)
* support muxed signals

* write multiplexor in generateDBC

* edit multiplex_switch_value in signalView

* no overlapping warning for mux signals

* group signals by multiplexer indicator

* display freq for each multiplexed signals

* remove all multiplexed signals after switch deleted

* disable switch value

* cleanup

* historyView: use getValue

* sort by switch value

* check address

* rename variables

* rename signale type

* parse multiplexed signals in dbcmanater

* cache signal color in member variable

* cleanup num_decimals

* remove sources from dbcmanager and cleanup code

* fix sort

* check mltiplex in operator==

* fix sizehint

* convert multipledxed to normal after changing multiplxor to normal

* throw error on multiple 'M' signals

* add comment

* parse multipled signals in test case

* cleanup

* change order

* cleanup open

* display multiplexed/overlapping signals in binaryview

* sort overlapped signals by size

* refactor dbcmanager

* trimmed

* parse multiplexed signals in test case

* cleanup

* merge master

* space

* use pointer for sigs

* alldbcFiles

* cleanup

* cleanup sparkline

* use std::vector

* skip draw sparkline if isnull

* bigger capacity
old-commit-hash: e08569b0f31953e185369eba9afb7fb20de714fa
2023-06-13 13:22:03 -07:00
Dean Lee
3cd5609257 cabana: fix core dump when failed to connect to panda (#28529)
old-commit-hash: 7128daebba7032d3a63f50b7875643e9905f52ae
2023-06-13 10:49:59 -07:00
Dean Lee
4053228f67 cabana: display signal details in tooltip (#28471)
* show details in tooltip

* display tooltip in signalView

* cleanup

* setHeader before sortByColumn

* more compact tooltip

* move to util
old-commit-hash: 9632451d1d6a726d389a91bd47261c0acda1a6ae
2023-06-12 13:58:41 -07:00
Dean Lee
eddc84d104 automatically detect available camera streams (#27640)
* remove WideCameraOnly

* check in set_initial_state

* no block

* remove try block

* apply reviews
old-commit-hash: 4ae0378f639826df5cc1518574842b61b118f371
2023-06-12 13:40:43 -07:00
Dean Lee
c31a4a40cf replay: fix timeline issues (#28501)
old-commit-hash: bd34124a84e9d2b4fc370f2dc7dde9541d8d4b9e
2023-06-11 13:41:23 -07:00
Dean Lee
5ea1a3f778 replay: Improve the performance of the log parser (#28495)
old-commit-hash: 3a3e38e42591457f8e4a97a8559b9274d057880a
2023-06-11 08:28:30 -07:00
Dean Lee
900a08d7ce cabana: add "view" menu to the menu bar (#28467)
old-commit-hash: 376144dca3ed6875fa8b2cc2ccfea5593ae85e78
2023-06-09 10:54:52 -07:00
Dean Lee
a297badd2e cabana: fix bg color issue for inactive item (#28468)
old-commit-hash: 0e67d41eef5fd39c57c5c75f181194ebff85a252
2023-06-09 10:50:25 -07:00
Cameron Clough
dccc4329fb Update SSH README
old-commit-hash: f210b2da08cd2cf95cd6f47b33d83febd772b3ac
2023-06-08 21:05:38 -07:00
Adeeb Shihadeh
2e2e4a8849 pj: fix camera timings layout default tab
old-commit-hash: f3299b19cf85031b93d3b53f4378e6dac444b723
2023-06-08 16:08:20 -07:00
Dean Lee
eba8100ea5 cabana: refactor dbc manager (#28445)
* rafactor signal

* cleanup

* refacto dbcmanager

* refactor dbcmanger
old-commit-hash: ff4aae85fe39b6442c03963a6a8cbfc900ba61c3
2023-06-08 13:41:55 -07:00
Dean Lee
97e62cf6c5 cabana: fix hang on exiting with CTRL+C (#28455)
old-commit-hash: 3b9fdf206efc0d014da617e60950304e3b1c95c2
2023-06-08 13:30:19 -07:00
Angus Gratton
f2ed4745c4 Cabana: Improve contrast when using dark themes (#28389)
old-commit-hash: 7cb4adfebbb3c1a5901018f177bf87add7c0799b
2023-06-06 22:22:06 -07:00
Kacper Rączy
2edd65ad4e 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
old-commit-hash: 64377a88f94527f56ba8e9cd7c01c97100681455
2023-06-06 10:31:13 -07:00
Dean Lee
33d2893fd2 cabana: segment live stream logging (#28407)
old-commit-hash: b7a2a921ecd9576799922287fd43d18c75c0042b
2023-06-05 09:44:30 -07:00
Angus Gratton
78268323cd cabana dbc: Sort signals by name if start bits are equal (#28399)
old-commit-hash: f659d4d44b1192467a7ad0d34c4f6747ae7382b4
2023-06-04 14:04:09 -07:00
Angus Gratton
5f3e8a41e8 cabana: Add menu item that resets the window layout (#28390)
old-commit-hash: 92d8295096468b65e35b660a9b536d99d2ce2b9f
2023-06-03 14:51:16 -07:00
Dean Lee
f1bde81712 replay: fixed incorrect totalSeconds when there are invalid segments in route (#28388)
old-commit-hash: 67b27b7496289fb7f05c603f44b4a76a104cd32f
2023-06-03 11:43:27 -07:00
Dean Lee
1156efe3c6 cabana: add a test case for dbc parsing (#28383)
test case for dbc parsing
old-commit-hash: 4e738e64e4394e9d25373917a2fb7a6c0a9041f8
2023-06-02 22:34:37 -07:00
Kacper Rączy
0378e7ed81 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
old-commit-hash: 26ad9b32f35ff2f4723a871125379537071950eb
2023-06-02 15:17:25 -07:00
Dean Lee
5f144b5c77 cabana: Support parsing of multi-line comments (#28345)
old-commit-hash: 99398176dfe707c84d591400b90838fdfceda5a3
2023-06-01 20:52:08 -07:00
Dean Lee
e7743b6acd cabana: support displaying&editing overlapping signals in the binary view (#28359)
old-commit-hash: 2373f785560be95aa9a64e949466cf0929f7e6f9
2023-06-01 10:36:40 -07:00
Dean Lee
c0883bcabe cabana: fix multiple dialog popups (#28358)
fix multiple popups
old-commit-hash: a19799cbe968a4f0633b591ff9ed27a9a3f35b61
2023-06-01 00:04:46 -07:00
Dean Lee
3fc8d79044 cabana: fix seeking issue (#28346)
* fix seekto

* rename loadThumbnail to parseQLog
old-commit-hash: e853af2ca6c84352b9cd7a17f9dae9a77f5cb3c1
2023-05-31 11:22:47 -07:00
Dean Lee
90bff752c1 cabana: improve dbc parsing (#28321)
old-commit-hash: 2a6458b44ed4189ec110036de956598e39fe8151
2023-05-27 15:43:42 -07:00
Dean Lee
40f37482c3 cabana: fix broken message filtering (#28319)
fix message filtering
old-commit-hash: b0120e30a491bad0284f860e81064d142519e647
2023-05-27 14:04:43 -07:00
Dean Lee
f0b0521db9 cabana: auto stretch last column (#28310)
old-commit-hash: 9a3897831cebe7ee98858a3820f05b1985a0f40f
2023-05-26 11:07:46 -07:00
Dean Lee
c2e86afc8c cabana: support editing comments for messages (#28299)
old-commit-hash: 54506774f05a867ff0f6ab4ab494eeec792f838f
2023-05-25 13:38:58 -07:00
Dean Lee
6cc979a258 cabana: support editing dbc files without a stream (#28294)
* no stream mode

* disable tools menu if no stream

* disable splitter

* cleanup

* refactor matchMessage
old-commit-hash: d5d1ca11d4a5ba5ffcb067fd842540d5334e9360
2023-05-25 10:51:28 -07:00
Dean Lee
14fdc8aca6 cabana/MessageViewHeader: fixed header position issue (#28291)
old-commit-hash: 53190e926c7320f95a108874ab44536ca57a7cfd
2023-05-25 10:50:36 -07:00
Dean Lee
c1fecfb6dd cabana: supports switching streams on the fly (#28081)
* open stream

* use std::atomic::exchange

* emit streamStarted immediately
old-commit-hash: a26e6d1633b994029e67611f7954250517f71acd
2023-05-24 20:47:37 -07:00
Kacper Rączy
3c1ae19261 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275)
old-commit-hash: 00ff096ca2f9ca5e1c0f6a78702dc3cc78978092
2023-05-23 19:48:57 -07:00
Dean Lee
3a838e5342 cabana: use double for minimum value & maximum value (#28252)
old-commit-hash: 36dd49e542968bf13943dcd375424dae6c271b63
2023-05-21 12:35:45 -07:00
Dean Lee
5198e64c8f cabana: reject group separator in QDoubleValidator (#28250)
old-commit-hash: 9ac73b719fe0c7bb6f3dd23514b2c837a3bd17ae
2023-05-21 12:33:38 -07:00
Dean Lee
85d4ba325d cabana: use the same double precision as the dbc file (#28234)
old-commit-hash: ac2c87246af2d73f6c0481934d8cc4969aba4b4d
2023-05-19 12:36:11 -07:00
Dean Lee
6eef545e9f cabana: fix segfault on screen changed (#28233)
fix segfault on scrrenChanged
old-commit-hash: e6c9e764c0f9198bc4fadd1e01679a5d1e2d55b6
2023-05-19 03:01:38 -07:00
Dean Lee
91ccb8b415 cabana: add #include <QObject> in dbcfile.h (#28219)
old-commit-hash: 5b54f0938fef846525a6e7f3c2444cdbc5585333
2023-05-17 00:08:10 -07:00
Comma Device
9bdbb993ea set ssh enabled in ssh helper script
old-commit-hash: b7daab0ee07c6bdf0ff1cdbf93de08fe02be3236
2023-05-15 19:32:40 -07:00
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