Package xbot.common.trajectory
Class SimpleTimeInterpolator.InterpolationResult
java.lang.Object
xbot.common.trajectory.SimpleTimeInterpolator.InterpolationResult
- Enclosing class:
- SimpleTimeInterpolator
-
Field Summary
Modifier and TypeFieldDescriptiondouble
boolean
boolean
double
-
Constructor Summary
ConstructorDescriptionInterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint) InterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading) InterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector) InterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint) InterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint, double lerpFraction) InterpolationResult
(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint, double lerpFraction, boolean isOnFinalLeg) -
Method Summary
-
Field Details
-
chasePoint
-
isOnFinalPoint
public boolean isOnFinalPoint -
chaseHeading
-
plannedVector
-
distanceToTargetPoint
public double distanceToTargetPoint -
lerpFraction
public double lerpFraction -
isOnFinalLeg
public boolean isOnFinalLeg
-
-
Constructor Details
-
InterpolationResult
-
InterpolationResult
public InterpolationResult(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading) -
InterpolationResult
public InterpolationResult(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector) -
InterpolationResult
public InterpolationResult(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint) -
InterpolationResult
public InterpolationResult(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint, double lerpFraction) -
InterpolationResult
public InterpolationResult(Translation2d chasePoint, boolean isOnFinalPoint, Rotation2d chaseHeading, Translation2d plannedVector, double distanceToTargetPoint, double lerpFraction, boolean isOnFinalLeg)
-