Here resides Hayden's Spring 2022 MATLAB Project in collaboration with his project team at the University of Tennessee, Knoxville. Learn more about the programming of the robot below; A HTML site was also developed during the course (not current), as seen here.
The project team utilized MATLAB to create a program allowing for a Sphero RVR vehicle to mimic an autonomous vehicle.
Here is a presentation given during the showcase event overviewing the objective of the autonomous vehicle and means for future implementation.
Here is a video of the code running. Notice the vehicle detects a "start" image and begins moving while simultaneously plotting its live location. The RVR detects and reacts to obstacles, then drives over the "stoplight" colors in which it either stays at a constant speed, increases speed, or stops. While running this command, a text box appears on the computer screen to display what the RGB has detected, while also displaying a message on the onboard OLED screen for other "drivers" to see!
Here is the flow chart demonstrating the logic utilized in the program with the if and while loops the robot followed.