Commit Graph

1118 Commits

Author SHA1 Message Date
Vivek Aithal
e7d307ca1b [commabody] Add new body teleop ui (#29282)
* Revert "Revert "[commabody] Add new body teleop ui (#29119)" (#29249)"

This reverts commit 623351e4ed.

* add to release files

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-08 14:12:51 -07:00
Adeeb Shihadeh
ee7a763ba3 macOS: remove old dependencies (#29275) 2023-08-07 21:13:09 -07:00
Harald Schäfer
623351e4ed Revert "[commabody] Add new body teleop ui (#29119)" (#29249)
This reverts commit a7304d059c.
2023-08-05 07:15:35 -07:00
Vivek Aithal
a7304d059c [commabody] Add new body teleop ui (#29119)
* add new ui

* move body tele op ui to new dir

* fix codespell errors

* resolve mediablackhole pylint error

* fix import error

* style fixes

* use logging, not print

* fix js styling

* resolve comments
2023-08-04 13:56:46 -07:00
Adeeb Shihadeh
7949dfe796 bump panda (#29234)
* bump panda

* bump
2023-08-04 11:09:20 -07:00
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
nathanoy
3fca1b4f8d Updated Carla to version 0.9.14 (#29210) 2023-08-02 08:41:36 -07:00
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