Commit Graph

1284 Commits

Author SHA1 Message Date
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: c5c9d5b921
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: e08569b0f3
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: 7128daebba
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: 9632451d1d
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: 4ae0378f63
2023-06-12 13:40:43 -07:00
Dean Lee
c31a4a40cf replay: fix timeline issues (#28501)
old-commit-hash: bd34124a84
2023-06-11 13:41:23 -07:00
Dean Lee
5ea1a3f778 replay: Improve the performance of the log parser (#28495)
old-commit-hash: 3a3e38e425
2023-06-11 08:28:30 -07:00
Dean Lee
900a08d7ce cabana: add "view" menu to the menu bar (#28467)
old-commit-hash: 376144dca3
2023-06-09 10:54:52 -07:00
Dean Lee
a297badd2e cabana: fix bg color issue for inactive item (#28468)
old-commit-hash: 0e67d41eef
2023-06-09 10:50:25 -07:00
Cameron Clough
dccc4329fb Update SSH README
old-commit-hash: f210b2da08
2023-06-08 21:05:38 -07:00
Adeeb Shihadeh
2e2e4a8849 pj: fix camera timings layout default tab
old-commit-hash: f3299b19cf
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: ff4aae85fe
2023-06-08 13:41:55 -07:00
Dean Lee
97e62cf6c5 cabana: fix hang on exiting with CTRL+C (#28455)
old-commit-hash: 3b9fdf206e
2023-06-08 13:30:19 -07:00
Angus Gratton
f2ed4745c4 Cabana: Improve contrast when using dark themes (#28389)
old-commit-hash: 7cb4adfebb
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: 64377a88f9
2023-06-06 10:31:13 -07:00
Dean Lee
33d2893fd2 cabana: segment live stream logging (#28407)
old-commit-hash: b7a2a921ec
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: f659d4d44b
2023-06-04 14:04:09 -07:00
Angus Gratton
5f3e8a41e8 cabana: Add menu item that resets the window layout (#28390)
old-commit-hash: 92d8295096
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: 67b27b7496
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: 4e738e64e4
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: 26ad9b32f3
2023-06-02 15:17:25 -07:00
Dean Lee
5f144b5c77 cabana: Support parsing of multi-line comments (#28345)
old-commit-hash: 99398176df
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: 2373f78556
2023-06-01 10:36:40 -07:00
Dean Lee
c0883bcabe cabana: fix multiple dialog popups (#28358)
fix multiple popups
old-commit-hash: a19799cbe9
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: e853af2ca6
2023-05-31 11:22:47 -07:00
Dean Lee
90bff752c1 cabana: improve dbc parsing (#28321)
old-commit-hash: 2a6458b44e
2023-05-27 15:43:42 -07:00
Dean Lee
40f37482c3 cabana: fix broken message filtering (#28319)
fix message filtering
old-commit-hash: b0120e30a4
2023-05-27 14:04:43 -07:00
Dean Lee
f0b0521db9 cabana: auto stretch last column (#28310)
old-commit-hash: 9a3897831c
2023-05-26 11:07:46 -07:00
Dean Lee
c2e86afc8c cabana: support editing comments for messages (#28299)
old-commit-hash: 54506774f0
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: d5d1ca11d4
2023-05-25 10:51:28 -07:00
Dean Lee
14fdc8aca6 cabana/MessageViewHeader: fixed header position issue (#28291)
old-commit-hash: 53190e926c
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: a26e6d1633
2023-05-24 20:47:37 -07:00
Kacper Rączy
3c1ae19261 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275)
old-commit-hash: 00ff096ca2
2023-05-23 19:48:57 -07:00
Dean Lee
3a838e5342 cabana: use double for minimum value & maximum value (#28252)
old-commit-hash: 36dd49e542
2023-05-21 12:35:45 -07:00
Dean Lee
5198e64c8f cabana: reject group separator in QDoubleValidator (#28250)
old-commit-hash: 9ac73b719f
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: ac2c87246a
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: e6c9e764c0
2023-05-19 03:01:38 -07:00
Dean Lee
91ccb8b415 cabana: add #include <QObject> in dbcfile.h (#28219)
old-commit-hash: 5b54f0938f
2023-05-17 00:08:10 -07:00
Comma Device
9bdbb993ea set ssh enabled in ssh helper script
old-commit-hash: b7daab0ee0
2023-05-15 19:32:40 -07:00
Dean Lee
1e58a8e991 cabana/findSignalDlg: support filter messages by bus/address/time. (#28186)
old-commit-hash: 13504f5ecf
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: 10bdcef0fe
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: 1a5f29ecc6
2023-05-12 13:01:00 -07:00
Adeeb Shihadeh
0a62304928 cabana: remove dead image from readme
old-commit-hash: 40dd150fc6
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: f01652cc41
2023-05-11 10:42:25 -07:00
Robbe Derks
7133d5b9cc can states plotjuggler layout
old-commit-hash: 5ca14c072f
2023-05-11 13:38:07 +02:00
Dean Lee
c9d56e78a6 cabana: cleanup DBCFile (#28160)
old-commit-hash: 720df4d150
2023-05-10 13:57:55 -07:00
Willem Melching
2e21af7d26 cabana: partial match on ID filter (#28158)
old-commit-hash: 3f8fc8f6f8
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: 933be2e128
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: f7e024f2f2
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: d7adee9766
2023-05-07 16:48:21 -07:00