75 {-3.0, -2.0, +3.0, -1.0},
76 {+0.0, +1.0, +0.0, +0.0},
77 {+1.0, +0.0, +0.0, +0.0}};
90 static Eigen::Vector4d ControlVectorFromArrays(
92 return Eigen::Vector4d{initialVector[0], initialVector[1], finalVector[0],
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:180
Represents a hermite spline of degree 3.
Definition: CubicHermiteSpline.h:17
Matrixd< 6, 3+1 > Coefficients() const override
Returns the coefficients matrix.
Definition: CubicHermiteSpline.h:43
CubicHermiteSpline(wpi::array< double, 2 > xInitialControlVector, wpi::array< double, 2 > xFinalControlVector, wpi::array< double, 2 > yInitialControlVector, wpi::array< double, 2 > yFinalControlVector)
Constructs a cubic hermite spline with the specified control vectors.
Represents a two-dimensional parametric spline that interpolates between two points.
Definition: Spline.h:25
This class is a wrapper around std::array that does compile time size checking.
Definition: array.h:25
Definition: AprilTagFieldLayout.h:22