openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.3 KiB

5 years ago
#!/bin/bash -e
sudo apt-get update && sudo apt-get install -y \
autoconf \
build-essential \
bzip2 \
clang \
cmake \
curl \
ffmpeg \
git \
libarchive-dev \
libbz2-dev \
libcurl4-openssl-dev \
libeigen3-dev \
libffi-dev \
libglew-dev \
libgles2-mesa-dev \
libglfw3-dev \
libglib2.0-0 \
liblzma-dev \
libmysqlclient-dev \
libomp-dev \
libopencv-dev \
libssl-dev \
libstdc++-arm-none-eabi-newlib \
5 years ago
libsqlite3-dev \
libtool \
libusb-1.0-0-dev \
libzmq5-dev \
locales \
ocl-icd-libopencl1 \
ocl-icd-opencl-dev \
opencl-headers \
python-dev \
python-pip \
screen \
sudo \
vim \
wget
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# TODO: add pyenv to .bashrc
pyenv install 3.7.3
pyenv global 3.7.3
pyenv rehash
# install pipenv
pip install pipenv==2018.11.26
# pipenv setup
cd ../
pipenv install --system --deploy
# TODO: add openpilot to PYTHONPATH and external to PATH
5 years ago
# export PYTHONPATH="$HOME/openpilot"
# export PATH="$PATH:$HOME/openpilot/external/capnp/bin"
# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/openpilot/external/capnp/lib"
5 years ago
# TODO: run external/capnp/build.sh ... needed?
5 years ago