Self Driving Car

For a special topics robotics class, we were tasked with programming a line following robot. The path would only be revealed on the day-of-showcase; until then, we had to develop our own practice tracks to debug. I unfortunately do not have video of our car finishing the final track, but I do have some practice footage.
Line Following
One of the tougher features to implement was this: whenever the car detected a red ball, it had to avoid it and re-enter the track. Getting this to work for a range of scenarios, rather than fixing it to just one, was super challenging.
Obstacle Avoidance
There were three kinds of April Tags that each corresponded to different tasks:
-
Codes 1 & 2: scan an item of interest (likely a ball) and determine its color
-
Codes 3 & 8: perform a task with another robot - so maybe exchange information, or command the other to do something. This is the first QR code in the video.
-
Code 13: Stop the car (only shown at end of track)