plan
Plan optimal trajectory
Description
[
computes a feasible trajectory, traj
,index
,cost
,flag
] = plan(planner
,start
)traj
, from a list of candidate
trajectories generated from the trajectoryOptimalFrenet
object, planner
. start
is specified as a
six-element vector [s, ds/dt,
d2s/dt2,
l, dl/ds,
d2l/ds2]
,
where s is the arc length from the first point in the reference path, and
l is normal distance from the closest point at s on
the reference path.
The output trajectory, traj
, also has an associated
cost
and index
for the TrajectoryList
property of the planner. flag
is a numeric exit flag indicating status
of the solution.
To improve the results of the planning output, modify the parameters on the
planner
object.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b