Install i2c tools to check for PCA9685 board.
sudo apt-get install i2c-tools
sudo i2cdetect -y 1
Install vim and git.
sudo apt install vim git -y
Disable ipv6.
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
Install the donkey car dependencies
sudo apt update
sudo apt-get install virtualenv build-essential python3-dev gfortran libhdf5-dev libatlas-base-dev libopenjp2-7-dev libtiff5 -y
Setup the python environment.
virtualenv env -p python3
source env/bin/activate
pip install tensorflow==1.8.0
Clone donkey car and install it.
git clone https://github.com/autorope/donkeycar
pip install -e ./donkeycar
Setup your configuration.
donkey createcar ~/mycar
Install the python library for pca9685 board.
pip install adafruit-pca9685
Install the python library for the raspberry pi camera.
pip install picamera
Print out the values you need to test during calibration.
cat mycar/config.py
Calibrate throttle.
donkey calibrate --channel 0
Calibrate steering.
donkey calibrate --channel 1
Edit configuration with values.
vim mycar/config.py