Class FieldMirroringUtils

java.lang.Object
org.ironmaple.utils.FieldMirroringUtils

public class FieldMirroringUtils extends Object
  • Field Details

  • Constructor Details

    • FieldMirroringUtils

      public FieldMirroringUtils()
  • Method Details

    • toCurrentAllianceRotation

      public static Rotation2d toCurrentAllianceRotation(Rotation2d rotationAtBlueSide)
    • toCurrentAllianceTranslation

      public static Translation2d toCurrentAllianceTranslation(Translation2d translationAtBlueSide)
    • toCurrentAllianceTranslation

      public static Translation3d toCurrentAllianceTranslation(Translation3d translation3dAtBlueSide)
    • toCurrentAlliancePose

      public static Pose2d toCurrentAlliancePose(Pose2d poseAtBlueSide)
    • isSidePresentedAsRed

      public static boolean isSidePresentedAsRed()
    • getCurrentAllianceDriverStationFacing

      public static Rotation2d getCurrentAllianceDriverStationFacing()