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.