Autonomous White Board Erasing Robot
I created a robot capable of erasing a white board of any size. This robot was built using LEGO NXT and programmed in C++.
It would start by taking a preliminary scan of the white board's dimensions using its touch sensor to hit the limits of the board. Once it had moved once in the X and once in the Y direction it now calculated the approximate size of the board and how many trips it would need to take to erase finish erasing the entire thing.
​
The robot would then begin erasing. It used a colour sensor to see if there was marker on the board. If there was, it would move it's shift the eraser down and begin erasing. Once it stopped sensing color it would move its arm back up. Once it had completed the entire trip, the robot would return to it's starting location.