|
|
|
@ -21,6 +21,7 @@ sudo apt-get update && sudo apt-get install -y \ |
|
|
|
|
libmysqlclient-dev \ |
|
|
|
|
libomp-dev \ |
|
|
|
|
libopencv-dev \ |
|
|
|
|
libpng16-16 \ |
|
|
|
|
libssl-dev \ |
|
|
|
|
libstdc++-arm-none-eabi-newlib \ |
|
|
|
|
libsqlite3-dev \ |
|
|
|
@ -52,10 +53,17 @@ pip install pipenv==2018.11.26 |
|
|
|
|
cd ../ |
|
|
|
|
pipenv install --system --deploy |
|
|
|
|
|
|
|
|
|
# TODO: add openpilot to PYTHONPATH and external to PATH |
|
|
|
|
# TODO: add openpilot to PYTHONPATH and external to PATH, this should be in bashrc |
|
|
|
|
# export PYTHONPATH="$HOME/openpilot" |
|
|
|
|
# export PATH="$PATH:$HOME/openpilot/external/capnp/bin" |
|
|
|
|
# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/openpilot/external/capnp/lib" |
|
|
|
|
|
|
|
|
|
# TODO: run external/capnp/build.sh ... needed? |
|
|
|
|
|
|
|
|
|
# at this point, manager runs |
|
|
|
|
|
|
|
|
|
# to make tools work |
|
|
|
|
sudo apt install ffmpeg libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev |
|
|
|
|
|
|
|
|
|
pip install -r tools/requirements.txt |
|
|
|
|
|
|
|
|
|