The RedBot was supposed to follow the black line, wait for an earthquake, then follow the black line back to the base. In order to do this, we had the robot use the IR sensors to detect the black line. Whenever the left or right IR sensor saw the line, the robot would turn to correct its course. This would loop until it hit the wall. Then, it would wait until the accelerometer was touched (or detect an earthquake). The RedBot would then turn around and then use the same line follow function to follow the line back.

Published on February 25th, 2018

Last updated on June 17th, 2022