Commit Graph

1139 Commits

Author SHA1 Message Date
Greg Hogan
349359d488 venv in code directory (#29452)
put venv in code directory
old-commit-hash: 282fd778aa
2023-08-17 15:43:02 -07:00
Justin Newberry
1988b4805e Revert "setup cleanup (#29419)" (#29451)
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9d
2023-08-17 13:23:06 -07:00
Dean Lee
e1f4ce2fb1 replay/logreader: use unique_ptr for mbr_ (#29440)
old-commit-hash: 61a00d2673
2023-08-17 11:42:35 -07:00
Greg Hogan
cce2c732c6 setup cleanup (#29419)
* setup cleanup

* update ci

* update ci

* export variables for mac os

* check env

* what is in the profile script?

* install pyenv the same everywhere

* temporarily disable brew cache

* temporarily disable brew cache

* try fixing pyenv virtualenv-init

* try this

* inject shims path earlier

* try alternate install method

* switch back to brew install

* try         eval "$(pyenv init --path)"

* add eval "\$(pyenv init --path)"
old-commit-hash: ad32816fd6
2023-08-17 08:51:16 -07:00
Dean Lee
accd5f471b replay: fix seekTo issue (#29422)
* fix seekTo issue

* remove extra space
old-commit-hash: e8e03197ca
2023-08-16 11:01:14 -07:00
Dean Lee
3648506b7c cabana: set border color for scatter series (#29408)
old-commit-hash: 9dac6b66f9
2023-08-15 10:28:48 -07:00
Kacper Rączy
7f02996102 replay: increase file descriptor limit macOS (#29346)
* Increase file descriptor limit for replay on macos

* Reword comment

* Move set_file_descriptor_limit to common/util.cc

* Include resource.h header
old-commit-hash: d8bda6feb4
2023-08-15 00:05:27 +02:00
Dean Lee
c622a4cac5 common/util: move function random_int to util (#29388)
old-commit-hash: 22bc06fdaa
2023-08-14 09:37:16 -07:00
Justin Newberry
8e91f98da5 Replay UI: Fix zip issue (#29384)
Update ui_helpers.py

resolves https://github.com/commaai/openpilot/issues/29383
old-commit-hash: 783bb1f878
2023-08-13 22:55:59 -07:00
Adeeb Shihadeh
f50fedb647 Fixes for PYTHONWARNINGS=error (#29381)
old-commit-hash: db287496d8
2023-08-13 17:22:56 -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: fd8a9c8520
2023-08-13 11:57:40 -07:00
Adeeb Shihadeh
e76af64065 CI: enable PYTHONWARNINGS=error (#29364)
* CI: enable PYTHONWARNINGS=error

* fixes

* more ignore

* more modeld ignore
old-commit-hash: b11b14aff8
2023-08-12 17:15:16 -07:00
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