Represents a hermite spline of degree 5.
More...
#include <QuinticHermiteSpline.h>
|
| | QuinticHermiteSpline (std::array< double, 3 > xInitialControlVector, std::array< double, 3 > xFinalControlVector, std::array< double, 3 > yInitialControlVector, std::array< double, 3 > yFinalControlVector) |
| | Constructs a quintic hermite spline with the specified control vectors. More...
|
| |
|
| Spline (const Spline &)=default |
| |
|
| Spline (Spline &&)=default |
| |
|
Spline & | operator= (const Spline &)=default |
| |
|
Spline & | operator= (Spline &&)=default |
| |
| PoseWithCurvature | GetPoint (double t) const |
| | Gets the pose and curvature at some point t on the spline. More...
|
| |
|
| Eigen::Matrix< double, 6, 6 > | Coefficients () const override |
| | Returns the coefficients matrix. More...
|
| |
Represents a hermite spline of degree 5.
◆ QuinticHermiteSpline()
| frc::QuinticHermiteSpline::QuinticHermiteSpline |
( |
std::array< double, 3 > |
xInitialControlVector, |
|
|
std::array< double, 3 > |
xFinalControlVector, |
|
|
std::array< double, 3 > |
yInitialControlVector, |
|
|
std::array< double, 3 > |
yFinalControlVector |
|
) |
| |
Constructs a quintic hermite spline with the specified control vectors.
Each control vector contains into about the location of the point, its first derivative, and its second derivative.
- Parameters
-
| xInitialControlVector | The control vector for the initial point in the x dimension. |
| xFinalControlVector | The control vector for the final point in the x dimension. |
| yInitialControlVector | The control vector for the initial point in the y dimension. |
| yFinalControlVector | The control vector for the final point in the y dimension. |
◆ Coefficients()
| Eigen::Matrix<double, 6, 6> frc::QuinticHermiteSpline::Coefficients |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
Returns the coefficients matrix.
- Returns
- The coefficients matrix.
Implements frc::Spline< 5 >.
The documentation for this class was generated from the following file: