public class CubicHermiteSpline
extends Spline
Constructor and Description |
---|
CubicHermiteSpline(Vector2 p0,
Rotation2d h0,
Vector2 p1,
Rotation2d h1) |
CubicHermiteSpline(Pose2d p0,
Pose2d p1) |
CubicHermiteSpline() |
Modifier and Type | Method and Description |
---|---|
double |
getCurvature(double t) |
double |
getDCurvature(double t) |
Rotation2d |
getHeading(double t) |
Vector2 |
getPoint(double t) |
double |
getVelocity(double t) |
getCurvature, getDCurvature, getHeading, getPoint, getPose, getPoseWithCurvature, getVelocity
public CubicHermiteSpline(Vector2 p0, Rotation2d h0, Vector2 p1, Rotation2d h1)
public CubicHermiteSpline()
public Vector2 getPoint(double t)
public Rotation2d getHeading(double t)
public double getCurvature(double t)
public double getDCurvature(double t)
public double getVelocity(double t)