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
    • hubCenter

      static final edu.wpi.first.math.geometry.Pose2d hubCenter
    • hubCenter3d

      static final edu.wpi.first.math.geometry.Pose3d hubCenter3d
    • leftFerryZone

      static final edu.wpi.first.math.geometry.Pose2d leftFerryZone
    • rightFerryZone

      static final edu.wpi.first.math.geometry.Pose2d rightFerryZone
    • outpost

      static final edu.wpi.first.math.geometry.Pose2d outpost
    • allianceZone

      static final edu.wpi.first.math.geometry.Pose2d allianceZone
    • APRILTAGS

      static final AprilTag[] APRILTAGS
    • RED_HUB_TAG_IDS

      static final int[] RED_HUB_TAG_IDS
    • BLUE_HUB_TAG_IDS

      static final int[] BLUE_HUB_TAG_IDS
    • RED_TRENCH_TAG_IDS

      static final int[] RED_TRENCH_TAG_IDS
    • BLUE_TRENCH_TAG_IDS

      static final int[] BLUE_TRENCH_TAG_IDS
    • RED_TOWER_TAG_IDS

      static final int[] RED_TOWER_TAG_IDS
    • BLUE_TOWER_TAG_IDS

      static final int[] BLUE_TOWER_TAG_IDS
    • RED_HP_TAG_IDS

      static final int[] RED_HP_TAG_IDS
    • BLUE_HP_TAG_IDS

      static final int[] BLUE_HP_TAG_IDS
    • ALL_TAGS

      static final int[] ALL_TAGS
    • blueHubCenter

      static final edu.wpi.first.math.geometry.Pose2d blueHubCenter
    • 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

    • getHubPose

      static edu.wpi.first.math.geometry.Pose2d getHubPose()
    • getFerryZonePose

      static edu.wpi.first.math.geometry.Pose2d getFerryZonePose(edu.wpi.first.math.geometry.Translation2d robot)
    • inAllianceZone

      static boolean inAllianceZone()
    • isValidTag

      static boolean isValidTag(int id)
    • getTag

      static AprilTag getTag(int id)
    • getAllianceHubPose

      static edu.wpi.first.math.geometry.Pose2d getAllianceHubPose()
    • 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)
    • clearFieldObject

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