Our robot also uses data from another source: an overhead camera suspended above the intersection of the course.
The data from this camera is only used when the car is in the intersection. It uses image processing to detect the large white triangle on top of the car.
If the robot turns the wrong direction while in the intersection the program will send instructions to the microcontroller to correct its course.