[ros-users] random maze

Tim Field tfield at willowgarage.com
Tue Jun 22 17:33:01 UTC 2010


On Tue, Jun 22, 2010 at 5:22 AM, Narasimhan <narasimhan1990 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100622/2afe5602/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maze.py
Type: text/x-python
Size: 1916 bytes
Desc: not available
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100622/2afe5602/attachment-0005.py>


More information about the ros-users mailing list