On Tue, Jun 22, 2010 at 5:22 AM, Narasimhan <narasimhan1990@yahoo.co.in> wrote:

thanks it helped. but in that script we can set the starting point. but since
its random maze each time a different end point is generated. is there a way
to set end point.
 
The attached script will generate mazes that start in the top-left and end in the bottom-right.

if i spawn a robot at the starting point using stage. how to command the
robot to reach the end point of the maze?

http://en.wikipedia.org/wiki/Maze_solving_algorithm

Tim