Commit Graph

1110 Commits

Author SHA1 Message Date
Adeeb Shihadeh 2e634bc199
macOS: use bash_profile instead of bashrc (#29165)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@Adeebs-MacBook-Air.local>
2023-07-27 00:31:42 -07:00
Vivek Aithal 156c7a84e8
[commabody] Add body packages to op (#29162)
* add body packages

* update poetry lock
2023-07-26 23:08:23 -07:00
Mitchell Goff f0ae0c34cd
Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
2023-07-25 01:08:39 -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
Harald Schäfer ca699e3989
radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
2023-07-19 20:31:40 -07:00
Dean Lee 319ce562f2
cabana: cleanup `MessageViewHeader` & `MessageBytesDelegate` (#29040)
* cleanup

* remove double ;
2023-07-19 18:39:55 -07:00
Dean Lee 3ad434c5ca
replay: emit segmentsMerged before updateEvent (#28849) 2023-07-08 17:09:54 -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
Robbe Derks 9774fb43e9
Compressed vipc improvements (#28837)
* debug flag

* make it easier to use
2023-07-07 16:04:23 +02: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
Qi Liu aa85fed91d
replay: fix segfault caused by pointer usage after freeing (#28779) 2023-07-01 23:01:47 -07:00
Dean Lee 5f6d947e36
cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702) 2023-06-26 13:08:30 -07:00
Lucas Keller 0e34b87744
Document WSL bug workaround (#28696)
* Document WSL bug workaround

WSL developers may run into an issue while running GUIs, where GUIs will segfault or crash due to hardware rendering issues.

Use LIBGL_ALWAYS_SOFTWARE=1 if you see segfaults or other strange GUI failures even after setting up a fresh WSL.

History: https://github.com/commaai/openpilot/discussions/26091#discussioncomment-4258846 .

* make smaller

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-25 15:38:53 -07:00
AlexandreSato dc06ce7ac3
minor typo on replay.cc comment (#28692) 2023-06-25 20:24:19 +01: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
Adeeb Shihadeh d081396102 pj: update thermal debug layout 2023-06-23 13:12:33 -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
Adeeb Shihadeh d0369521ba
tools: update windows instructions 2023-06-16 11:06:33 -07: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
Harald Schäfer c5c9d5b921
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
2023-06-13 22:54:37 -07: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 4ae0378f63
automatically detect available camera streams (#27640)
* remove WideCameraOnly

* check in set_initial_state

* no block

* remove try block

* apply reviews
2023-06-12 13:40:43 -07:00
Dean Lee bd34124a84
replay: fix timeline issues (#28501) 2023-06-11 13:41:23 -07:00
Dean Lee 3a3e38e425
replay: Improve the performance of the log parser (#28495) 2023-06-11 08:28:30 -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
Cameron Clough f210b2da08
Update SSH README 2023-06-08 21:05:38 -07:00
Adeeb Shihadeh f3299b19cf pj: fix camera timings layout default tab 2023-06-08 16:08:20 -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
Kacper Rączy 64377a88f9
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
2023-06-06 10:31:13 -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 67b27b7496
replay: fixed incorrect totalSeconds when there are invalid segments in route (#28388) 2023-06-03 11:43:27 -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