Package com.stuypulse.robot.util.shooter
Class InterpolationCalculator
java.lang.Object
com.stuypulse.robot.util.shooter.InterpolationCalculator
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMapstatic edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMapstatic edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMapstatic edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterpolateFerryingInfo(edu.wpi.first.math.geometry.Pose2d shooterPose, edu.wpi.first.math.geometry.Pose2d targetPose) interpolateShotInfo(edu.wpi.first.math.geometry.Pose2d shooterPose, edu.wpi.first.math.geometry.Pose2d targetPose)
-
Field Details
-
shootingDistanceRPMInterpolator
public static edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap shootingDistanceRPMInterpolator -
shootingDistanceTOFInterpolator
public static edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap shootingDistanceTOFInterpolator -
ferryingDistanceRPMInterpolator
public static edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap ferryingDistanceRPMInterpolator -
ferryingDistanceTOFInterpolator
public static edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap ferryingDistanceTOFInterpolator
-
-
Constructor Details
-
InterpolationCalculator
public InterpolationCalculator()
-
-
Method Details
-
interpolateShotInfo
-
interpolateShotInfo
public static InterpolationCalculator.InterpolatedInfo interpolateShotInfo(edu.wpi.first.math.geometry.Pose2d shooterPose, edu.wpi.first.math.geometry.Pose2d targetPose) -
interpolateFerryingInfo
-
interpolateFerryingInfo
public static InterpolationCalculator.InterpolatedInfo interpolateFerryingInfo(edu.wpi.first.math.geometry.Pose2d shooterPose, edu.wpi.first.math.geometry.Pose2d targetPose)
-