Interface Field


public interface Field
This interface stores information about the field elements.
  • Field Details

    • FIELD2D

      static final edu.wpi.first.wpilibj.smartdashboard.Field2d FIELD2D
    • WIDTH

      static final double WIDTH
    • LENGTH

      static final double LENGTH
    • APRILTAGS

      static final AprilTag[] APRILTAGS
    • BLUE_REEF_TAG_IDS

      static final int[] BLUE_REEF_TAG_IDS
    • RED_REEF_TAG_IDS

      static final int[] RED_REEF_TAG_IDS
    • ALLIANCE_REEF_CENTER

      static final edu.wpi.first.math.geometry.Translation2d ALLIANCE_REEF_CENTER
      REEF
    • OPPOSITE_ALLIANCE_REEF_CENTER

      static final edu.wpi.first.math.geometry.Translation2d OPPOSITE_ALLIANCE_REEF_CENTER
    • LENGTH_OF_REEF_FACE

      static final double LENGTH_OF_REEF_FACE
    • CENTER_OF_REEF_TO_L1_CORNER

      static final double CENTER_OF_REEF_TO_L1_CORNER
    • CENTER_OF_REEF_TO_REEF_FACE

      static final double CENTER_OF_REEF_TO_REEF_FACE
    • CENTER_OF_TROUGH_TO_BRANCH

      static final double CENTER_OF_TROUGH_TO_BRANCH
    • EMPTY_FIELD_POSE2D

      static final edu.wpi.first.math.geometry.Pose2d EMPTY_FIELD_POSE2D
      EMPTY FIELD POSES
    • EMPTY_FIELD_POSE3D

      static final edu.wpi.first.math.geometry.Pose3d EMPTY_FIELD_POSE3D
  • Method Details

    • conditionallyTransformToOppositeAlliance

      static edu.wpi.first.math.geometry.Pose3d conditionallyTransformToOppositeAlliance(edu.wpi.first.math.geometry.Pose3d pose)
    • conditionallyTransformToOppositeAlliance

      static edu.wpi.first.math.geometry.Pose2d conditionallyTransformToOppositeAlliance(edu.wpi.first.math.geometry.Pose2d pose)
    • conditionallyTransformToOppositeAlliance

      static edu.wpi.first.math.geometry.Translation2d conditionallyTransformToOppositeAlliance(edu.wpi.first.math.geometry.Translation2d translation)
    • conditionallyTransformToOppositeAlliance

      static List<edu.wpi.first.math.geometry.Pose2d> conditionallyTransformToOppositeAlliance(List<edu.wpi.first.math.geometry.Pose2d> poses)
    • transformToOppositeAlliance

      static edu.wpi.first.math.geometry.Pose3d transformToOppositeAlliance(edu.wpi.first.math.geometry.Pose3d pose)
    • transformToOppositeAlliance

      static edu.wpi.first.math.geometry.Pose2d transformToOppositeAlliance(edu.wpi.first.math.geometry.Pose2d pose)
    • transformToOppositeAlliance

      static edu.wpi.first.math.geometry.Translation2d transformToOppositeAlliance(edu.wpi.first.math.geometry.Translation2d translation)
    • transformToOppositeAlliance

      static List<edu.wpi.first.math.geometry.Pose2d> transformToOppositeAlliance(List<edu.wpi.first.math.geometry.Pose2d> poses)
    • isValidTag

      static boolean isValidTag(int id)
    • getTag

      static AprilTag getTag(int id)
    • getAllTagIDs

      static int[] getAllTagIDs()
    • seesReefTags

      static boolean seesReefTags(int[] reefArray, int id)
    • clearFieldObject

      static void clearFieldObject(edu.wpi.first.wpilibj.smartdashboard.FieldObject2d fieldObject)