Interface Field


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

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