Virtual Bot

This section of code takes the data from the distance sensor and uses it to help the robot determine when to turn so that it does not crash.

If the robot is over 350 millimeters away it will move forward. However, if the robot is less than 350 millimeters away it will turn left.

This code continues using the distance sensor to turn. If the robot turns left and an obstacle is less than 250 millimeters away the robot will then make a 180 degrees turn.

The robot has two sensors on its back bumper and if the robot does crash it will move forward away from the wall. There is also a light/color sensor that detects colors. If the color blue is detected the robot will back up.

The Maze

<- This is the process of building the maze that the Vitrual Bot will go through

This is the concept/finished version of the maze that the Vitrual Bot will go through ->

<- This is the final product of the maze that the virtual bot will go trough


This is how it looks from a point of view when starting the Test ->

Virtual Bot Maze Test: https://youtu.be/nakIOlvrEsU