Dean Lee
004a097c95
cpplint: add `readability/braces` filter ( #29554 )
...
old-commit-hash: 363740a497
2 years ago
Robbe Derks
a04cbced36
Devcontainer ( #29259 )
...
* mvp devcontainer. builds, runs and UI works
* fix indentation
* enable color and fix openpilot_env path
* separate dockerfile for devcontainer
* use prebuilt image
* Fix openpilot_env setup
* Add dev container section in readme
* Fix typo
* Fix typo again
* Move dev dockerfile to .devcontainer dir
* Update README
* Add note about x11 forwarding on macos
* Update dev container json
* Fix typo
* Override DISPLAY on macOS
* Mention XAUTHORITY for macOS setup in README
* fix typo
* Add devcontainer CI test
* Rename to devcontainer
* Fix git issues
* ripgrep
* Link instead of vscode manual
* Replace raw path with containerWorkspaceFolder
* Fix typo
* Remove dev tools workflow
* Link away X11 forwarding setup isntructions for mac
* Remove fork consrtaint, add test run of scons
* Add submodules as safe.directories in postStartCommand
* Remove openpilot_env references
* Add scons cache volume
---------
Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1
2 years ago
Adeeb Shihadeh
b38403f2ca
Revert Qt MOC hacks ( #29528 )
...
* Revert "CI: prevent moc from running in cache population step (#29401 )"
This reverts commit 34634b95aa15dc608315016c40857f3e16ca4ff9.
* Revert "SCons: respect cache read only (#29437 )"
This reverts commit 77cb4da6381fdf94ea98c55d6fcc30db4d24dcf6.
* don't change moc path
old-commit-hash: 91dc8457ae
2 years ago
Greg Hogan
69570ef251
script to install only ubuntu dependencies ( #29510 )
...
* script to install only ubuntu dependencies
* update Dockerfile
* add shebang
old-commit-hash: b24bbe4607
2 years ago
Justin Newberry
7205b92bb6
CI: use scons cache mount for building simulator and docs ( #29436 )
...
* build docker image with scons cache
* use setup
* scons cache
* added the dockerfile
* add the shell
* docs use cache
* dont pull lfs for docs
* simulator too
* dont pull the cache image
* fix inputs
* inputs
* booleans aren't supported
* bool not supported
* bool isnt supported
* fix
* readonly cache
* fix sim cache too
* respect readonly
* gitignore and move to correct folder
* also copy old
* move to tools/ci
* move to selfdrive/test
* just make the cache writable, it's discarded anyway
* minimize diff in this pr
old-commit-hash: 197460e061
2 years ago
Kacper Rączy
1d47429f8e
Setup cleanup vol. 2 ( #29456 )
...
* code from setup cleanup #29419
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)"
* Add local .env file to the cache list
* Change .env paths
* debug line
* order?
* remove .env
* Add .venv to caches
---------
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 0f7be5b1e6
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
1c3ca3e810
update clone instructions ( #29490 )
...
* both
* Update README.md
* Update README.md
old-commit-hash: 5690386d8d
2 years ago
Greg Hogan
f136a35ce1
fast clone instructions ( #29455 )
...
* fast clone instructions
* Support default ubuntu 20.04 git
---------
Co-authored-by: Harald Schäfer <harald.the.engineer@gmail.com>
old-commit-hash: 012060ba32
2 years ago
Greg Hogan
349359d488
venv in code directory ( #29452 )
...
put venv in code directory
old-commit-hash: 282fd778aa
2 years ago
Justin Newberry
1988b4805e
Revert "setup cleanup ( #29419 )" ( #29451 )
...
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9d
2 years ago
Dean Lee
e1f4ce2fb1
replay/logreader: use unique_ptr for `mbr_` ( #29440 )
...
old-commit-hash: 61a00d2673
2 years ago
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
2 years ago
Dean Lee
accd5f471b
replay: fix seekTo issue ( #29422 )
...
* fix seekTo issue
* remove extra space
old-commit-hash: e8e03197ca
2 years ago
Dean Lee
3648506b7c
cabana: set border color for scatter series ( #29408 )
...
old-commit-hash: 9dac6b66f9
2 years ago
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
2 years ago
Dean Lee
c622a4cac5
common/util: move function `random_int` to util ( #29388 )
...
old-commit-hash: 22bc06fdaa
2 years ago
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
2 years ago
Adeeb Shihadeh
f50fedb647
Fixes for PYTHONWARNINGS=error ( #29381 )
...
old-commit-hash: db287496d8
2 years ago
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
2 years ago
Adeeb Shihadeh
e76af64065
CI: enable PYTHONWARNINGS=error ( #29364 )
...
* CI: enable PYTHONWARNINGS=error
* fixes
* more ignore
* more modeld ignore
old-commit-hash: b11b14aff8
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Shane Smiskol
a9611d13be
simulator: fix CANParser input args ( #29343 )
...
* we weren't testing?
* fix
old-commit-hash: 84fbf1c2e9
2 years ago
Dean Lee
0171e5ee26
scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX ( #29334 )
...
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
old-commit-hash: 233e053842
2 years ago
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
2 years ago
Justin Newberry
7d6d3dc9ea
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
old-commit-hash: af3ed37c5c
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Adeeb Shihadeh
ae549dcd30
macOS: remove old dependencies ( #29275 )
...
old-commit-hash: ee7a763ba3
2 years ago
Harald Schäfer
c0fbbd4b36
Revert "[commabody] Add new body teleop ui ( #29119 )" ( #29249 )
...
This reverts commit 0df6353569b77869ce4ddc8ce43bab621bccd107.
old-commit-hash: 623351e4ed
2 years ago
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
2 years ago
Adeeb Shihadeh
3e9b67a514
bump panda ( #29234 )
...
* bump panda
* bump
old-commit-hash: 7949dfe796
2 years ago
Justin Newberry
4e4e1d4e9e
Cabana: Fix >1 hour route time displaying ( #29226 )
...
fix greater than 1 hour
old-commit-hash: a90f6d9163
2 years ago
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
2 years ago
nathanoy
85ca41390d
Updated Carla to version 0.9.14 ( #29210 )
...
old-commit-hash: 3fca1b4f8d
2 years ago
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
2 years ago
Vivek Aithal
e8d84e11f5
[commabody] Add body packages to op ( #29162 )
...
* add body packages
* update poetry lock
old-commit-hash: 156c7a84e8
2 years ago
Mitchell Goff
49b07db500
Added python VisionBuf class ( #29075 )
...
* Added python VisionBuf class
* fixed property names
* Bump cereal
old-commit-hash: f0ae0c34cd
2 years ago
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
2 years ago
Harald Schäfer
8a48732784
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
old-commit-hash: ca699e3989
2 years ago
Dean Lee
f8c108e8e8
cabana: cleanup `MessageViewHeader` & `MessageBytesDelegate` ( #29040 )
...
* cleanup
* remove double ;
old-commit-hash: 319ce562f2
2 years ago
Dean Lee
2d88501e21
replay: emit segmentsMerged before updateEvent ( #28849 )
...
old-commit-hash: 3ad434c5ca
2 years ago
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
2 years ago
Robbe Derks
0100230162
Compressed vipc improvements ( #28837 )
...
* debug flag
* make it easier to use
old-commit-hash: 9774fb43e9
2 years ago
Dean Lee
241cbb2808
cabana: preserve msg transmitter & signal receiver when saving DBC ( #28825 )
...
preserve transmitter&receiver_name
old-commit-hash: 940609956d
2 years ago
Dean Lee
841f8bfb3f
cabana: improve timeline ( #28801 )
...
old-commit-hash: 059529cae2
2 years ago
Qi Liu
5c6e533bf4
replay: fix segfault caused by pointer usage after freeing ( #28779 )
...
old-commit-hash: aa85fed91d
2 years ago