Machine Learning for RC Cars
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
suiron 🍷 removed train_motor and replaced with simple exponential equation Oct 7, 2016
.gitignore
LICENSE
README.md Update README.md Oct 8, 2016
autonomous.py
collect.py
preview.py
requirements.txt
settings.json 🐦 added motor speed training and visualization Oct 6, 2016
train.py
visualize_collect.py
visualize_predict.py 🍷 removed train_motor and replaced with simple exponential equation Oct 7, 2016

README.md

Suiron

Machine Learning for RC Cars

Prediction visualization (green = actual, blue = prediction)

Click the video below to see it in action!

IMAGE ALT TEXT

Dependencies

Python 2.7 was chosen as it was supported by all the libraries used at the time

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-opencv python-dev

export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
sudo pip install --upgrade $TF_BINARY_URL

sudo pip install -r requirements.txt

Collecting data

python collect.py

Visualizing collected data

python visualize_collect.py

Training data

python train.py

Visualizing predicted data

python visualize_predict.py

References

Blog Post detailing how the hardware and software communicate - Communicating between RC Car and the On-board Computer - Jabelone

Communication between hardware and software repo - car-controller

Neural Network architecture was based on NVIDIA's Self-driving car paper - End-To-End Learning for Self-Driving Cars