plannerPRM
Description
The probabilistic roadmap path planner constructs a roadmap without start and goal
states. Use the plan
function to
find an obstacle-free path between the specified start and goal states. If the
plan
function does not find a connected path between the start and the
goal states, it returns an empty path.
Creation
Description
creates a PRM planner from a state space object, planner
= plannerPRM(stateSpace
,stateVal
)stateSpace
, and a
state validator object, stateVal
. The state space of
stateVal
must be the same as stateSpace
.
stateSpace
and stateVal
also sets the
StateSpace and
StateValidator
properties, respectively, of the planner.
sets properties using one or more name-value pair arguments in addition to the input
arguments in the previous syntax. You can specify the StateSampler,
MaxNumNodes, and
MaxConnectionDistance properties as name-value pairs.planner
= plannerPRM(___,Name=Value
)
Properties
Object Functions
Examples
References
[1] L.E. Kavraki, P. Svestka, J.C. Latombe, M.H. Overmars, "Probabilistic roadmaps for path planning in high-dimensional configuration spaces," IEEE Transactions on Robotics and Automation, Vol. 12, No. 4, pp. 566-580, Aug 1996.
Extended Capabilities
Version History
Introduced in R2022aSee Also
Objects
stateSpaceSE2
|stateSpaceDubins
|stateSpaceReedsShepp
|validatorOccupancyMap
|validatorVehicleCostmap
|stateSamplerUniform