For a racing competition in Toulouse, a friend and I designed and programmed an autonomous racing robot powered by a Raspberry Pi, an Arduino Uno and a Pi Camera. We used Python, C++ and a neural network for image processing, operating in real time at 60 FPS! In this article, we share our experience and give the key elements to reproduce the car.
Note: no knowledge in machine learning is required to read this article, but it could help to understand the very details of the image processing method.
After showing the racing car in action, we shortly present the robotics competition and then describe the main components of the car (hardware/software). Finally, we will dive into the internals of the robot: how we made the car autonomous.