# minjerkpolytraj

## Syntax

## Description

`[`

generates a minimum jerk polynomial trajectory that achieves a given set of input waypoints
with their corresponding time points. The function returns positions, velocities,
accelerations, and jerks at the given number of samples `q`

,`qd`

,`qdd`

,`qddd`

,`pp`

,`tPoints`

,`tSamples`

] = minjerkpolytraj(`waypoints`

,`timePoints`

,`numSamples`

)`numSamples`

. The
function also returns the piecewise polynomial `pp`

form of the
polynomial trajectory with respect to time, as well as the time points
`tPoints`

and the sample times `tSamples`

.

`[`

specifies options using one or more name-value pair arguments in addition to the input
arguments from the previous syntax. For example,
`q`

,`qd`

,`qdd`

,`qddd`

,`pp`

,`tPoints`

,`tSamples`

] = minjerkpolytraj(___,Name=Value)```
minjerkpolytraj(waypoints,timePoints,numSamples,VelocityBoundaryCondition=[1 0 -1
-1; 1 1 1 -1])
```

generates a two-dimensional minimum jerk trajectory and specifies
the velocity boundary conditions in each dimension for each waypoint.

## Examples

## Input Arguments

## Output Arguments

## References

[1] Bry, Adam, Charles Richter,
Abraham Bachrach, and Nicholas Roy. “Aggressive Flight of Fixed-Wing and Quadrotor Aircraft in
Dense Indoor Environments.” *The International Journal of Robotics
Research*, 34, no. 7 (June 2015): 969–1002.

[2] Richter, Charles, Adam Bry, and
Nicholas Roy. “Polynomial Trajectory Planning for Aggressive Quadrotor Flight in Dense Indoor
Environments." *Paper presented at the International Symposium of Robotics Research
(ISRR 2013)*, 2013.

## Extended Capabilities

## Version History

**Introduced in R2021b**