PathSegment

public final class PathSegment

Path segment composed of a parametric curve and heading interpolator.

Parameters

curve

parametric curve

interpolator

heading interpolator

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private final ParametricCurve curve
Link copied to clipboard

Functions

Link copied to clipboard
public final Double curvature(Double s)
public final Double curvature(Double s, Double t)
Link copied to clipboard
public final Pose2d deriv(Double s)
public final Pose2d deriv(Double s, Double t)
Link copied to clipboard
public final Pose2d end()

Returns the end pose.

Link copied to clipboard
public final Pose2d endDeriv()

Returns the end pose derivative.

Link copied to clipboard
public final Pose2d endSecondDeriv()

Returns the end pose second derivative.

Link copied to clipboard
public final Angle endTangentAngle()

Returns the end tangent angle.

Link copied to clipboard
public final Pose2d get(Double s)
public final Pose2d get(Double s, Double t)
Link copied to clipboard
public final ParametricCurve getCurve()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Double length()
Link copied to clipboard
public final Double reparam(Double s)
Link copied to clipboard
public final Pose2d secondDeriv(Double s, Double t)
Link copied to clipboard
public final Pose2d start()

Returns the start pose.

Link copied to clipboard
public final Pose2d startDeriv()

Returns the start pose derivative.

Link copied to clipboard
public final Pose2d startSecondDeriv()

Returns the start pose second derivative.

Link copied to clipboard
public final Angle startTangentAngle()

Returns the start tangent angle.

Link copied to clipboard
public final Angle tangentAngle(Double s, Double t)