WPILibC++ 2023.4.3-108-ge5452e3
|
Class used to parameterize a spline by its arc length. More...
#include <frc/spline/SplineParameterizer.h>
Classes | |
struct | MalformedSplineException |
Public Types | |
using | PoseWithCurvature = std::pair< Pose2d, units::curvature_t > |
Static Public Member Functions | |
template<int Dim> | |
static std::vector< PoseWithCurvature > | Parameterize (const Spline< Dim > &spline, double t0=0.0, double t1=1.0) |
Parametrizes the spline. More... | |
Friends | |
class | CubicHermiteSplineTest |
class | QuinticHermiteSplineTest |
Class used to parameterize a spline by its arc length.
using frc::SplineParameterizer::PoseWithCurvature = std::pair<Pose2d, units::curvature_t> |
|
inlinestatic |
Parametrizes the spline.
This method breaks up the spline into various arcs until their dx, dy, and dtheta are within specific tolerances.
spline | The spline to parameterize. |
t0 | Starting internal spline parameter. It is recommended to leave this as default. |
t1 | Ending internal spline parameter. It is recommended to leave this as default. |
|
friend |
|
friend |