Commit Graph

1095 Commits

Author SHA1 Message Date
Dean Lee
d1c19dfda9 cabana: properly handle unix signals (#28657)
old-commit-hash: fe91ea1139
2023-06-23 15:27:51 -07:00
Dean Lee
c7425def28 cabana: fixed the issue of parsing multiplexed signals (#28660)
old-commit-hash: 6cc600e84f
2023-06-23 13:14:11 -07:00
Adeeb Shihadeh
b324c42641 pj: update thermal debug layout
old-commit-hash: d081396102
2023-06-23 13:12:33 -07:00
Kacper Rączy
b1eb066965 macOS: fix build issues & re-enable CI (#28258)
* Uncomment build_mac job

* Add PYCURL_CURL_CONFIG

* Acados universal binary

* Remove x86 macos references from sconscript

* Add missing include in cabana

* Update cereal

* Update workflow

* Remove unnecessary libpaths for darwin

* Add missing path to cached dirs

* Fix path in cache preparation step

* Add poetry caches to CI cache

* Compile acados with lower deployment target for CI

* Update cereal

* Pass -rpath in linker flags as scons doed not support RPATH on macos

* Use scons api instead of os

* @rpath in install name of acados dylibs

* SConstruct cleanup

* fix liblocationd tests by adding lib suffix based on platform

* Update cereal

* Update opendbc

* Update opendbc

* Add acados gitignore to release files

* Update cereal

* Update cereal

* Add scons_cache to build cache

* Add Caskroom to cache

* Fix typo

* Link all packages at once, instead of one by one

* Run cleanup stage using poetry

* Remove casks from cache

* Move scons cache to separate cache step

* Save scons cache only on master

* Remove restore-keys from save-scons-cache step

* Uncomment if conditions for scons save

* Add gcc-arm-embedded cask cache to cache

* Custom handling of gcc-arm-embedded toolchain cache

* Rename dep cache key

* Exclude .fseventsd from cache

* Fix glob pattern

* Remove .feventsd before caching

* Run mac_setup only if dependency cache-hit != true

* Update cereal to master

* Add overwrite flag to brew link

* Remove manual casadi build from mac_setup

* Remove restore-keys from dependency cache

* Remove linux requirement for casadi

* Restore restore-keys to dependency cache
old-commit-hash: 45a6834a74
2023-06-21 13:14:20 -07:00
Dean Lee
88840e9fe4 cabana: simplifying endian conversion (#28601)
old-commit-hash: 3c398b2e2f
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: e80440dc5d
2023-06-19 10:21:16 -07:00
Dean Lee
938bee9415 cabana: fix segfault when switching DBC files. (#28587)
old-commit-hash: 2ebd7ab088
2023-06-17 20:30:17 +01:00
Adeeb Shihadeh
4894158e7b tools: update windows instructions
old-commit-hash: d0369521ba
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: 4891a234e2
2023-06-15 10:35:30 -07:00
Cameron Clough
b3055ca4ff cabana: round signal raw value for value description
old-commit-hash: e57f3ab4da
2023-06-15 12:46:08 +01:00
Dean Lee
7fc2927b73 cabana: use raw signal value to match value descriptions (#28554)
old-commit-hash: 6f54ebe110
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: 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