Here is the policy on using Donkey Car for you business Link
One wide angle camera.
It's likely we'll need to add more sensors but we've not come close to reaching the limitations of driving with a camera.
Others have made a fork to support Pi hats that have other sensors.
Install and Test Adafruit Motor Shield software
Follow instructions to build a Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi.
Install an operating system using NOOBS
Install Basic LibrariesSince the Raspberry Pi is not as fast as larger computers, it can take a long time to install python packages (ie. numpy & PIL) using pip. Luckily Adafruit has precompiled these libraries into packages that can be installed via `apt-get`.
1. Open a terminal (Ctrl-Alt-t) and upgrade your system packages.
sudo apt-get update
sudo apt-get upgrade
3. Install necessary libraries
sudo apt-get install xsel xclip libxml2-dev libxslt-dev libzmq-dev libspatialindex-dev virtualenv
4. Pandas & Jupyter Requirements
sudo apt-get install python3-lxml python3-h5py python3-numexpr python3-dateutil python3-tz python3-bs4 python3-xlrd python3-tables python3-sqlalchemy python3-xlsxwriter python3-httplib2 python3-zmq
5. Scientific Python
sudo apt-get install python3-numpy python3-matplotlib python3-scipy python3-pandas
6. Install Tensorflow (for running pilots locally)
sudo pip3 install tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl
Install DonkeyRun the following commands in a bash terminal on your raspberry pi.
virtualenv --system-site-packages -p python3 env
pip install keras
git clone http://github.com/wroscoe/donkey.git
pip install -e .[pi]
If you have a brushless motor you’ll need to calibrate your ESC before driving it. Brushed motors should be calibrated automatically. When not calibrated an ESC will periodically beep. When calibrated, it will beep a little song then stop beeping. See scripts/calibrate.py to see how this works.
In terminal first install the command line tools for Xcode by opening a terminal and running:
Next Install Homebrew with the following terminal command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
To ensure you have the most up to date version with the following terminal commands:
To ensure it is working with the following terminal command:
Using brew install python 2 and 3 with the following terminal commands:
brew install python
brew install python3
Using brew install git with the following terminal commands:
brew install git