navPath
Planned path
Description
The navPath
object stores paths that are typically created by
geometric path planners. Path points are stored as states in an associated state
space.
Creation
Syntax
Description
creates a path object,
path
= navPathpath
, using the SE(2) state space with default settings.
creates a path object with state space specified by path
= navPath(space
)space
. The
space
input also sets the value of the StateSpace
property.
allows you to initialize the path with state samples given by path
= navPath(space
,states
)states
.
Specify states
as a matrix of state samples. States that are outside
of the StateBounds
of the state space
object are
reduced to the bounds. The states
input also sets the value of the
States
property.
creates a path object with the specified maximum number of states allowed in path
path
= navPath(space
,states
,maxNumStates
)maxNumStates
. The maxNumStates
input also sets
the value of the MaxNumStates
property.
Properties
Object Functions
append | Add states to end of path |
copy | Create copy of path object |
interpolate | Interpolate points along path |
pathLength | Length of path |
Examples
Extended Capabilities
Version History
Introduced in R2019b