jaolejnik / nn-line-follower

Brain for a neural network line follower based on a RaspberryPi,

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neural Network Line Follower

About

Code created for bachelor degree diploma project. The goal was to create a line follower robot steered by artificial neural network.

The neural network was trained using Deep Q-learning algorithm in a custom simulation environment created with PyGame. Then it was extracted to physical robot that uses Raspberry Pi as main computing unit.


Dependencies

You don't really have to worry about it if you're using pipenv (and if you aren't you really should be).

Just run

pipenv install

to create virtual environment with all the required packages listed in Pipfile.

Then start it using

pipenv shell

and now your development environment is ready.

For running tests make sure you have RPi.GPIO and TensorFlow 2.3.0 installed on your Raspberry Pi.
As installation of TF 2.* is not that simple on older models of RPi, I recommend reading this guide to do so.

Used packages


About

Brain for a neural network line follower based on a RaspberryPi,

License:MIT License


Languages

Language:Python 98.8%Language:Shell 1.2%