* rework mac_setup.sh
* ignore casadi and onnx runtime in pipfile for Darwin
* remove rust stuff
* build and install casadi
* add wget
* explicit python3. dont do onnx just yet
* resource compiler
* replace acados Darwin lib w universal2 libs
* relock Pipfile using linux machine
* Update update_requirements.sh
brackets
* Update update_requirements.sh
oops
* ci: re-enable mac build
* attempt to fix ci build:
* pip stuff?
* move rcc bin path to env script
* oops
* only mac
* k im lazy. does ci like this??
* huh??
* * use curl
* avoid casadi rebuilds
* add comment to remove protobuf
* host detect typo
* python version
* how did the builds not use swig?
* better reinstall check
* sometimes mac clang complain abt error limit
* ci: build OP in venv
* ci: bump to Big Sur
* retry? idk why it failed @ acados link
* * use macos-latest
* move rcc path to scons
* add extra paths for odd homebrew installs
* acados source change
* update macOS README
* uh, maybe?
* k nvm
* ci: ok this is strange. might be scons bug?
* fix conflicts: bump
* just add cppcheck for pre-commit stuff
* agane
* cleanup
* try that
* fix path
* no pyenv update on mac
* source
* fix rpath prefix?
* no examples
* fix exit
* let's get this cached
* add virtualenvs to cache
* why did we cache that
* let's see what's big
* more
* always ruyn
* cache scons cache
* better cache key
* fix for partial hit
* why so long
Co-authored-by: Andrew Tec <andrest@trabus.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Bruce Wayne <batman@openpilot-mac-mini.local>
old-commit-hash: 6664421710
* plotjuggler: support segment names
* update docs
* generic parser
* convert segment number to int when parsing
* add SegmentName
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 71132edf17
* CI: use ubuntu_setup.sh
* works?
* need to fix paths
* set paths
* no batman for now
* pyenv version
* rehash after install packages
* unify python install
* revert that
* fix pyenv path
* no pipenv
* flip that
* fix rehash
* skip that
* revert panda
old-commit-hash: 066e3e3626
* dynamic PYTHONPATH setting based on actual openpilot location
* right above
* fix path
* absolute path all the time
* Revert "absolute path all the time"
This reverts commit c0bc2e08e7.
* Update tools/openpilot_env.sh
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: fed7cfeef0
* plotjuggler: add mac support
* fix test?
* update readme
* oops
* fix
* cleanup
* typo
* works
* little more
* fix test
* little faster
old-commit-hash: c26f294218
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
* CARLA: send YUV and RGB over visionipc
* CARLA: send YUV and RGB over visionipc-fix pipfile
* CARLA: send YUV and RGB over visionipc-Camerad class
* relock pipfile
* small bridge cleanup
* use tici camera resolution
* update vof
* HUD_SETTING has no counter
* no loggerd
Co-authored-by: jwolffe <wolffja@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a58d272ae4
* tools/setup: do not change global state
1. download packages in the venv
2. never change global python version
* update_requirements.sh: install to system if used by comma employees
* bump pip & pipenv versions
* no --upgrade
* run pre-commmit install in venv
* for consistency
Co-authored-by: predicate@bonzo <noreply@example.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1d55f2f23e
* tools/README.md: add more information
1. Add info about OpenCL drivers
2. Add info about pipenv environment
* ubuntu_setup.sh: add clinfo
Adds the clinfo command so you can verify your OpenCL installation.
* tools/README.md: add info on GUI WSL
old-commit-hash: e68849cfc8
* add sphinx
* switch theme
* Experiment: sphinx docs generation updated (#22708)
* moved build to root gitignore, added .gitkeep
* Improved makefile doc build process
- Removed auto-generated docs from source control
- Moved apidoc.sh into Makefile
- Removed make.bat (can add back if Windows support desired)
- Added sphinx viewcode and markdown extensions
- Added feature to source /docs in build, so any .rst file in /docs will
override the respective file during the build process
- Added feature to copy all markdown/rst files from source into /build/
during build process so they can be easily referenced while writing
docs (see examples in index.md)
- Wrote basic starter index.md file
TODO: Add new dependencies to Pipfile [dev-packages]
* Revert accidental modification to Pipfile
* fix command substitution
* exclude xx
* improve docs
* dont include all docs in release build
* Add dockerfile
* update title
* include normal readme
* build container in CI
* use buildkit
* add login
Co-authored-by: Chad Bailey <chadbailey904@gmail.com>
old-commit-hash: b816b5b644