50 return m_initialControlVector;
59 return m_finalControlVector;
65 ControlVector m_initialControlVector;
66 ControlVector m_finalControlVector;
102 {-06.0, -03.0, -00.5, +06.0, -03.0, +00.5},
103 {+15.0, +08.0, +01.5, -15.0, +07.0, -01.0},
104 {-10.0, -06.0, -01.5, +10.0, -04.0, +00.5},
105 {+00.0, +00.0, +00.5, +00.0, +00.0, +00.0},
106 {+00.0, +01.0, +00.0, +00.0, +00.0, +00.0},
107 {+01.0, +00.0, +00.0, +00.0, +00.0, +00.0}};
122 return Vectord<6>{initialVector[0], initialVector[1], initialVector[2],
123 finalVector[0], finalVector[1], finalVector[2]};
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Represents a hermite spline of degree 5.
Definition: QuinticHermiteSpline.h:17
const ControlVector & GetFinalControlVector() const override
Returns the final control vector that created this spline.
Definition: QuinticHermiteSpline.h:58
Matrixd< 6, 6 > Coefficients() const override
Returns the coefficients matrix.
Definition: QuinticHermiteSpline.h:42
QuinticHermiteSpline(wpi::array< double, 3 > xInitialControlVector, wpi::array< double, 3 > xFinalControlVector, wpi::array< double, 3 > yInitialControlVector, wpi::array< double, 3 > yFinalControlVector)
Constructs a quintic hermite spline with the specified control vectors.
const ControlVector & GetInitialControlVector() const override
Returns the initial control vector that created this spline.
Definition: QuinticHermiteSpline.h:49
Represents a two-dimensional parametric spline that interpolates between two points.
Definition: Spline.h:25
Definition: AprilTagPoseEstimator.h:15
Eigen::Matrix< double, Rows, Cols, Options, MaxRows, MaxCols > Matrixd
Definition: EigenCore.h:21