plan
Syntax
Description
returns an obstacle-free path as a path = plan(planner,startState,goalState)navPath object
between the start state and the goal state within a roadmap that contains a network graph of
connected nodes.
[
also returns path,solutionInfo] = plan(planner,startState,goalState)solutionInfo as a structure that contains the solution
information of the path planning.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022a
![Figure contains an axes object. The axes object with title Occupancy Grid, xlabel X [meters], ylabel Y [meters] contains 103 objects of type image, line.](../../examples/nav/win64/PlanObstacleFreePathUsingProbabilisticRoadmapPathPlannerExample_01.png)
![Figure contains an axes object. The axes object with title Occupancy Map, xlabel X [meters], ylabel Y [meters] contains 4 objects of type patch, scatter, line.](../../examples/nav/win64/PlanPathThrough3DOccupancyMapProbabilisticRoadmapPlannerExample_01.png)