Hi. I have to do a project for my computer architecture class that involves putting some cans in a circle and having a lego robot push all of the cans out of the circle. The robot must stay in the circle.
The circle will be a white piece of cardboard with a black stripe around the edge. Our lego robots can use light and touch sensors. The brains of this operation will consist of MIT handyboards.
I'm wondering what the best way to do this would be. Should the robot start in the middle, go forward until it hits the edge, then go back to the center, rotate a bit, and go back to the edge again? Or, when it hits the edge, should it then turn around and look for more cans? It must start in the middle of the circle.