LEMUR Packages: ompl_lemur or_lemur pr_bgl prpy_lemur
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Groups Pages
Roadmaps

The LEMUR planner works on roadmaps constructed in the robot's configuration space. Each planning invocation requires the roadmap to be specified. The prpy_lemur package includes a roadmaps module, which contains a simple named-tuple interface for constructing such roadmaps.

>>> import prpy_lemur.roadmaps
>>> my_roadmap = prpy_lemur.roadmaps.Halton(num=1000, radius=2.0)
>>> my_roadmap
Halton(num=1000, radius=2.0)

This roadmap specification can then be passed to the LEMUR planner. This can be done either on the planning method:

traj = planner.PlanToConfiguration(robot, q_goal,
   roadmap=my_roadmap, max_batches=1)

Or at planner construction time, so that it is used as the default roadmap for all its planning methods:

planner = prpy_lemur.LEMURPlanner(roadmap=my_roadmap)

These roadmap types are supported by prpy_lemur.roadmaps:

This is the meaning of the various parameters:

With the exception of FromFile, each roadmap Type also have an associated cached version CachedType. This roadmap type inherits the parameters from its parent type, and also includes the following additional parameter: