Building a Self-Driving Go Kart
I made a self-driving go kart by utilizing a machine learning technique called behavioral cloning.
The go kart (AKA the Teskart) is equipped with 3 Logitech C920 webcams. All three cameras are used during data collection and only the middle one is used when self-driving. It provides the necessary visual input for the model to analyze and make steering decisions.
The steering motor is from a power wheelchair. The wheelchair motor functions as a giant servo motor which is controlled by an Arduino and a Cytron DC motor driver. Position feedback is achieved through a potentiometer that rotates along with the motor shaft. The Arduino reads the potentiometer value and PWM signal, and uses a PID controller to compute and provide the appropriate output.
A second Arduino is used to receive the predicted steering angle data from Python though serial communication and convert it into a PWM signal to be sent to the first Arduino.
An onboard laptop serves as the brains behind the operation and is used for recording data, training the model, and evaluating its performance.
The Complete Self-Driving Car Course - Applied Deep Learning (This course always goes on sale so do not pay full price if you plan on purchasing):
https://www.udemy.com/course/applied-deep-learningtm-the-complete-self-driving-car-course/
How to Make an R/C Servo from a Wiper Motor | James Bruton:
https://www.youtube.com/watch?v=3pYWLF8qw-g&t=829s
Build a Custom Servo Motor with a DC Motor | DroneBot Workshop:
https://www.youtube.com/watch?v=vFMwAy7BaH0
Music by Karl Casey @ White Bat Audio
Music also from Epidemic Sound & YouTube Audio Library
Pixel Art by Fabled Frame:
https://www.artstation.com/fabledframe
Follow Me:
Instagram:
https://www.instagram.com/austiwawa/
Posted September 19, 2023
click to rate
Share this page with your family and friends.