Commit Graph

475 Commits

Author SHA1 Message Date
Justin Newberry
a90f6d9163 Cabana: Fix >1 hour route time displaying (#29226)
fix greater than 1 hour
2023-08-03 13:27:17 -07:00
Shane Smiskol
acc732efbb replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
2023-08-03 13:18:44 -07:00
Maxime Desroches
97eec45d42 Test scons multithreaded random build (#29082)
* random build

* name

* 2 pass

* clean after

* fail on this

* fix deps

* format

* var

* try without lfs
2023-07-21 21:57:27 -07:00
Dean Lee
319ce562f2 cabana: cleanup MessageViewHeader & MessageBytesDelegate (#29040)
* cleanup

* remove double ;
2023-07-19 18:39:55 -07:00
Dean Lee
1301e2d640 cabana: fix segfault when editing signal while filtering (#28836)
Fix the issue that editing signal will segfault when there is a filter string.
2023-07-07 15:39:03 -07:00
Dean Lee
940609956d cabana: preserve msg transmitter & signal receiver when saving DBC (#28825)
preserve transmitter&receiver_name
2023-07-06 12:39:58 -07:00
Dean Lee
059529cae2 cabana: improve timeline (#28801) 2023-07-04 12:03:08 -07:00
Dean Lee
5f6d947e36 cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702) 2023-06-26 13:08:30 -07:00
Dean Lee
fe91ea1139 cabana: properly handle unix signals (#28657) 2023-06-23 15:27:51 -07:00
Dean Lee
6cc600e84f cabana: fixed the issue of parsing multiplexed signals (#28660) 2023-06-23 13:14:11 -07:00
Kacper Rączy
45a6834a74 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
2023-06-21 13:14:20 -07:00
Dean Lee
3c398b2e2f cabana: simplifying endian conversion (#28601) 2023-06-20 10:56:40 -07:00
Dean Lee
e80440dc5d cabana: fixed the multi-threading issues of AbstractStream (#28590)
* fix multi-threading issues

* protect masks with mutex
2023-06-19 10:21:16 -07:00
Dean Lee
2ebd7ab088 cabana: fix segfault when switching DBC files. (#28587) 2023-06-17 20:30:17 +01:00
Dean Lee
4891a234e2 cabana: Prevent dialog that load autosaved file from blocking replay->start() (#28558) 2023-06-15 10:35:30 -07:00
Cameron Clough
e57f3ab4da cabana: round signal raw value for value description 2023-06-15 12:46:08 +01:00
Dean Lee
6f54ebe110 cabana: use raw signal value to match value descriptions (#28554) 2023-06-15 11:50:14 +01:00
Dean Lee
e08569b0f3 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
2023-06-13 13:22:03 -07:00
Dean Lee
7128daebba cabana: fix core dump when failed to connect to panda (#28529) 2023-06-13 10:49:59 -07:00
Dean Lee
9632451d1d 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
2023-06-12 13:58:41 -07:00
Dean Lee
376144dca3 cabana: add "view" menu to the menu bar (#28467) 2023-06-09 10:54:52 -07:00
Dean Lee
0e67d41eef cabana: fix bg color issue for inactive item (#28468) 2023-06-09 10:50:25 -07:00
Dean Lee
ff4aae85fe cabana: refactor dbc manager (#28445)
* rafactor signal

* cleanup

* refacto dbcmanager

* refactor dbcmanger
2023-06-08 13:41:55 -07:00
Dean Lee
3b9fdf206e cabana: fix hang on exiting with CTRL+C (#28455) 2023-06-08 13:30:19 -07:00
Angus Gratton
7cb4adfebb Cabana: Improve contrast when using dark themes (#28389) 2023-06-06 22:22:06 -07:00
Dean Lee
b7a2a921ec cabana: segment live stream logging (#28407) 2023-06-05 09:44:30 -07:00
Angus Gratton
f659d4d44b cabana dbc: Sort signals by name if start bits are equal (#28399) 2023-06-04 14:04:09 -07:00
Angus Gratton
92d8295096 cabana: Add menu item that resets the window layout (#28390) 2023-06-03 14:51:16 -07:00
Dean Lee
4e738e64e4 cabana: add a test case for dbc parsing (#28383)
test case for dbc parsing
2023-06-02 22:34:37 -07:00
Kacper Rączy
26ad9b32f3 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
2023-06-02 15:17:25 -07:00
Dean Lee
99398176df cabana: Support parsing of multi-line comments (#28345) 2023-06-01 20:52:08 -07:00
Dean Lee
2373f78556 cabana: support displaying&editing overlapping signals in the binary view (#28359) 2023-06-01 10:36:40 -07:00
Dean Lee
a19799cbe9 cabana: fix multiple dialog popups (#28358)
fix multiple popups
2023-06-01 00:04:46 -07:00
Dean Lee
e853af2ca6 cabana: fix seeking issue (#28346)
* fix seekto

* rename loadThumbnail to parseQLog
2023-05-31 11:22:47 -07:00
Dean Lee
2a6458b44e cabana: improve dbc parsing (#28321) 2023-05-27 15:43:42 -07:00
Dean Lee
b0120e30a4 cabana: fix broken message filtering (#28319)
fix message filtering
2023-05-27 14:04:43 -07:00
Dean Lee
9a3897831c cabana: auto stretch last column (#28310) 2023-05-26 11:07:46 -07:00
Dean Lee
54506774f0 cabana: support editing comments for messages (#28299) 2023-05-25 13:38:58 -07:00
Dean Lee
d5d1ca11d4 cabana: support editing dbc files without a stream (#28294)
* no stream mode

* disable tools menu if no stream

* disable splitter

* cleanup

* refactor matchMessage
2023-05-25 10:51:28 -07:00
Dean Lee
53190e926c cabana/MessageViewHeader: fixed header position issue (#28291) 2023-05-25 10:50:36 -07:00
Dean Lee
a26e6d1633 cabana: supports switching streams on the fly (#28081)
* open stream

* use std::atomic::exchange

* emit streamStarted immediately
2023-05-24 20:47:37 -07:00
Dean Lee
36dd49e542 cabana: use double for minimum value & maximum value (#28252) 2023-05-21 12:35:45 -07:00
Dean Lee
9ac73b719f cabana: reject group separator in QDoubleValidator (#28250) 2023-05-21 12:33:38 -07:00
Dean Lee
ac2c87246a cabana: use the same double precision as the dbc file (#28234) 2023-05-19 12:36:11 -07:00
Dean Lee
e6c9e764c0 cabana: fix segfault on screen changed (#28233)
fix segfault on scrrenChanged
2023-05-19 03:01:38 -07:00
Dean Lee
5b54f0938f cabana: add #include <QObject> in dbcfile.h (#28219) 2023-05-17 00:08:10 -07:00
Dean Lee
13504f5ecf cabana/findSignalDlg: support filter messages by bus/address/time. (#28186) 2023-05-14 10:14:31 -07:00
Dean Lee
10bdcef0fe cabana: add tool to search for possible signals through values. (#28182)
* Add tools to search for possible signals through values.

* use ,
2023-05-13 14:05:14 -07:00
Adeeb Shihadeh
40dd150fc6 cabana: remove dead image from readme 2023-05-11 12:57:55 -07:00
Dean Lee
f01652cc41 cabana: fix the frequency was incorrect when replay from a specified segment (#28165) 2023-05-11 10:42:25 -07:00