Commit Graph

1127 Commits

Author SHA1 Message Date
Adeeb Shihadeh
b3f734283d remove xx dependencies (#29263)
* rm xx deps

* mv that

* fix

* fix a path

* relock

* relock

* update

* update sentry

* update

* revert sentry

* Update lock

* Dummy pip package

* Not needed with poetry

* dont need dummy

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 0ced56b2ea
2023-08-11 20:05:44 -07:00
Justin Newberry
f33b4de80b Ruff: b905 (strict zip) (#29336)
* added mutable default args

* most of the Bs

* add comment about lrucache

* b905
old-commit-hash: e4ead4f183
2023-08-11 16:13:51 -07:00
Justin Newberry
d487c0501f Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
old-commit-hash: 62c1e65924
2023-08-11 15:33:49 -07:00
Shane Smiskol
a9611d13be simulator: fix CANParser input args (#29343)
* we weren't testing?

* fix
old-commit-hash: 84fbf1c2e9
2023-08-11 14:12:33 -07:00
Dean Lee
0171e5ee26 scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX (#29334)
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
old-commit-hash: 233e053842
2023-08-11 10:38:34 -07:00
Justin Newberry
715f028a0e Ruff: enable flake8-builtins (#29315)
* enable flake8-builtins

* replace any with contains

* fix typo in pack

* fix type

* format is from the parent module, has to be enabled

* item_id

* fix item_id

* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40
2023-08-10 18:58:22 -07:00
Justin Newberry
7d6d3dc9ea Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
old-commit-hash: af3ed37c5c
2023-08-10 15:28:51 -07:00
Justin Newberry
3ee0786de3 CI: Pylint to ruff (#29294)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad

* set line length

* pylint exclusions to ruff

* same excludes as old linter

* fix tools QA

* remove unrequired check

* revert linting third_party

* ignore e402
old-commit-hash: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168
2023-08-08 17:13:35 -07:00
Vivek Aithal
c1bcb53d4e [commabody] Add new body teleop ui (#29282)
* Revert "Revert "[commabody] Add new body teleop ui (#29119)" (#29249)"

This reverts commit 5dcfddbbfbddf00d16cb1f28c51f3dffc75d7cf6.

* add to release files

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7d307ca1b
2023-08-08 14:12:51 -07:00
Adeeb Shihadeh
ae549dcd30 macOS: remove old dependencies (#29275)
old-commit-hash: ee7a763ba3
2023-08-07 21:13:09 -07:00
Harald Schäfer
c0fbbd4b36 Revert "[commabody] Add new body teleop ui (#29119)" (#29249)
This reverts commit 0df6353569b77869ce4ddc8ce43bab621bccd107.
old-commit-hash: 623351e4ed
2023-08-05 07:15:35 -07:00
Vivek Aithal
082b1fd924 [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
old-commit-hash: a7304d059c
2023-08-04 13:56:46 -07:00
Adeeb Shihadeh
3e9b67a514 bump panda (#29234)
* bump panda

* bump
old-commit-hash: 7949dfe796
2023-08-04 11:09:20 -07:00
Justin Newberry
4e4e1d4e9e Cabana: Fix >1 hour route time displaying (#29226)
fix greater than 1 hour
old-commit-hash: a90f6d9163
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: acc732efbb
2023-08-03 13:18:44 -07:00
nathanoy
85ca41390d Updated Carla to version 0.9.14 (#29210)
old-commit-hash: 3fca1b4f8d
2023-08-02 08:41:36 -07:00
Adeeb Shihadeh
2ed1f8f3f3 macOS: use bash_profile instead of bashrc (#29165)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@Adeebs-MacBook-Air.local>
old-commit-hash: 2e634bc199
2023-07-27 00:31:42 -07:00
Vivek Aithal
e8d84e11f5 [commabody] Add body packages to op (#29162)
* add body packages

* update poetry lock
old-commit-hash: 156c7a84e8
2023-07-26 23:08:23 -07:00
Mitchell Goff
49b07db500 Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
old-commit-hash: f0ae0c34cd
2023-07-25 01:08:39 -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: 97eec45d42
2023-07-21 21:57:27 -07:00
Harald Schäfer
8a48732784 radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
old-commit-hash: ca699e3989
2023-07-19 20:31:40 -07:00
Dean Lee
f8c108e8e8 cabana: cleanup MessageViewHeader & MessageBytesDelegate (#29040)
* cleanup

* remove double ;
old-commit-hash: 319ce562f2
2023-07-19 18:39:55 -07:00
Dean Lee
2d88501e21 replay: emit segmentsMerged before updateEvent (#28849)
old-commit-hash: 3ad434c5ca
2023-07-08 17:09:54 -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: 1301e2d640
2023-07-07 15:39:03 -07:00
Robbe Derks
0100230162 Compressed vipc improvements (#28837)
* debug flag

* make it easier to use
old-commit-hash: 9774fb43e9
2023-07-07 16:04:23 +02:00
Dean Lee
241cbb2808 cabana: preserve msg transmitter & signal receiver when saving DBC (#28825)
preserve transmitter&receiver_name
old-commit-hash: 940609956d
2023-07-06 12:39:58 -07:00
Dean Lee
841f8bfb3f cabana: improve timeline (#28801)
old-commit-hash: 059529cae2
2023-07-04 12:03:08 -07:00
Qi Liu
5c6e533bf4 replay: fix segfault caused by pointer usage after freeing (#28779)
old-commit-hash: aa85fed91d
2023-07-01 23:01:47 -07:00
Dean Lee
a597401fc0 cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702)
old-commit-hash: 5f6d947e36
2023-06-26 13:08:30 -07:00
Lucas Keller
80127d0683 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>
old-commit-hash: 0e34b87744
2023-06-25 15:38:53 -07:00
AlexandreSato
098cb227de minor typo on replay.cc comment (#28692)
old-commit-hash: dc06ce7ac3
2023-06-25 20:24:19 +01:00
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