plan
Find obstacle-free path between two poses
Syntax
Description
computes an obstacle-free path between start and goal poses, specified as
path = plan(planner,start,goal)[x
y
theta] vectors, using the input plannerHybridAStar object.
[
also returns the direction of motion for each pose along the path,
path,directions] = plan(planner,start,goal)directions, as a column vector. A value of 1
indicates forward direction and a value of -1 indicates reverse
direction. The function returns an empty column vector when the planner is unable to find a
path.
[
also returns path,directions,solutionInfo] = plan(planner,start,goal)solutionInfo that contains the solution information of the
path planning as a structure.
[___] = plan(___,"SearchMode",
specifies the search algorithm mode mode)mode in addition to any combination
of arguments from previous syntaxes.
![Figure contains an axes object. The axes object with title Hybrid A* Path Planner, xlabel X [meters], ylabel Y [meters] contains 8 objects of type image, line, scatter. These objects represent Reverse Motion Primitives, Forward Motion Primitives, Forward Path, Path Points, Orientation, Start, Goal.](../../examples/nav/win64/ObstacleFreePathPlanningUsingHybridAStarExample_01.png)