The Discrete Rover

 

Trim you Rover to move around in the maze*. Make the Rover move in the middle in the squares and keep away from the edges of the square. Imagine that there are crossing lines going through each square and it is on these lines that the rover should move. Perfect movement is not required but keeping close to the imaginary centerline will benefit you. Use the light sensor to read the floors light emission and stop the rover when it detects black squares, i.e., avoid moving the rover into black squares. If you come across a black square, turn and try going in another direction (or back up and try another direction). (Remember to try to follow the imaginary centerline.)

 

You do not need to care about the edges of the maze and may replace the rover if it leaves the grid.

 

Demonstrate your running Rover to a TA to get it graded. If it moves in a nice “discrete” manner, i.e., only in the middle of the squares, it will get a higher grade.

 

* maze located in Gelb lab