Commit Graph

478 Commits

Author SHA1 Message Date
Dean Lee 3648506b7c cabana: set border color for scatter series (#29408)
old-commit-hash: 9dac6b66f982dc5356821048627d70b18595b39e
2023-08-15 10:28:48 -07:00
Dean Lee 42dd6af842 ui/networking: remove call to clearLayout (#29037)
* build list inplace

* move clearLayout to cabana

* cleanup include

* polish style

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd8a9c852016ccfd13ae5146648a65f01cc2468c
2023-08-13 11:57:40 -07:00
Dean Lee 0171e5ee26 scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX (#29334)
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
old-commit-hash: 233e053842d8e9fc9211f778b00e73df3225220c
2023-08-11 10:38:34 -07:00
Justin Newberry 4e4e1d4e9e Cabana: Fix >1 hour route time displaying (#29226)
fix greater than 1 hour
old-commit-hash: a90f6d91635643d3e15e21da9a2a8718b1166136
2023-08-03 13:27:17 -07:00
Shane Smiskol d78ebfdc45 replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
old-commit-hash: acc732efbb76b15947ce4b69cf6a97a919f4c34f
2023-08-03 13:18:44 -07:00
Maxime Desroches 06125f1309 Test scons multithreaded random build (#29082)
* random build

* name

* 2 pass

* clean after

* fail on this

* fix deps

* format

* var

* try without lfs
old-commit-hash: 97eec45d42a67c3e840a6a08fab2e421b2825de7
2023-07-21 21:57:27 -07:00
Dean Lee f8c108e8e8 cabana: cleanup MessageViewHeader & MessageBytesDelegate (#29040)
* cleanup

* remove double ;
old-commit-hash: 319ce562f270f6b4320b53e9d6d67452a3b77027
2023-07-19 18:39:55 -07:00
Dean Lee 592bcec5d6 cabana: fix segfault when editing signal while filtering (#28836)
Fix the issue that editing signal will segfault when there is a filter string.
old-commit-hash: 1301e2d640c9e14117f832bf37cbf469dbc43900
2023-07-07 15:39:03 -07:00
Dean Lee 241cbb2808 cabana: preserve msg transmitter & signal receiver when saving DBC (#28825)
preserve transmitter&receiver_name
old-commit-hash: 940609956d3fe10ffd3033156f4fe62bcdcac42e
2023-07-06 12:39:58 -07:00
Dean Lee 841f8bfb3f cabana: improve timeline (#28801)
old-commit-hash: 059529cae2dde8331eb9a4ac876b36c2c3ec7697
2023-07-04 12:03:08 -07:00
Dean Lee a597401fc0 cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702)
old-commit-hash: 5f6d947e36a6e6842240a62f7dfe61cd63decd49
2023-06-26 13:08:30 -07:00
Dean Lee d1c19dfda9 cabana: properly handle unix signals (#28657)
old-commit-hash: fe91ea1139a5ff3f832a73f09bbdd77a78533acc
2023-06-23 15:27:51 -07:00
Dean Lee c7425def28 cabana: fixed the issue of parsing multiplexed signals (#28660)
old-commit-hash: 6cc600e84f3a42bcf402730073d22fe6cd16b8d3
2023-06-23 13:14:11 -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: 45a6834a744e13833e702ed6eb3c5483391cf899
2023-06-21 13:14:20 -07:00
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
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
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 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
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
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 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
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
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