Race to the Future!
What?
Race To The Future is a fun project that is part of a competition. The goal of this project is to make an RC car drive autonomously. At the end of the project, the car will be tested on a track, and the team with the fastest time wins. We decided to use a Raspberry Pi to control the car, and we used a Pi Camera to detect the track.
How?
We used OpenCV to filter the camera feed and detect the track. Some of the filters we used were an HSV filter and a Canny filter. To ensure the car would not swing from one side to the other, we implemented a rolling average.
Conclusion
In this project I created an autonomous RC car with my team. We could complete a track outlined with red tubes. During the actual competition, we had to change the values of some of the filters on the spot because of the lighting. Making it necessary for us to work under high pressure. At the end of the race we ended up second.