fix sim
parent
79a5183496
commit
1457001c2d
|
@ -9,7 +9,7 @@ if [ ! -d carla ]; then
|
|||
mkdir -p carla_tmp
|
||||
cd carla_tmp
|
||||
tar xvf ../$FILE
|
||||
easy_install PythonAPI/carla/dist/carla-0.9.7-py3.5-linux-x86_64.egg
|
||||
easy_install PythonAPI/carla/dist/carla-0.9.7-py3.5-linux-x86_64.egg || true
|
||||
cd ../
|
||||
mv carla_tmp carla
|
||||
fi
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue