Package com.stuypulse.robot.util.swerve
Class AlignmentUtil
java.lang.Object
com.stuypulse.robot.util.swerve.AlignmentUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.math.geometry.Rotation2dgetTargetAlignmentAngle(edu.wpi.first.math.geometry.Pose2d currentPose, edu.wpi.first.math.geometry.Pose2d targetPose)
-
Constructor Details
-
AlignmentUtil
public AlignmentUtil()
-
-
Method Details
-
getTargetAlignmentAngle
public static edu.wpi.first.math.geometry.Rotation2d getTargetAlignmentAngle(edu.wpi.first.math.geometry.Pose2d currentPose, edu.wpi.first.math.geometry.Pose2d targetPose)
-