Package frc.robot

Class Constants.FieldConstants

java.lang.Object
frc.robot.Constants.FieldConstants
Enclosing class:
Constants

public static final class Constants.FieldConstants extends Object
Constants for field positions and points of interest
  • Field Details

    • FIELD_LENGTH_METERS

      public static final double FIELD_LENGTH_METERS
      Field dimensions for 2025 Reefscape
      See Also:
    • FIELD_WIDTH_METERS

      public static final double FIELD_WIDTH_METERS
      Field width in meters.
      See Also:
    • ALL_POIS

      public static final POI[] ALL_POIS
      All consolidated points of interest on the field
    • INTAKE_STATIONS

      public static final POI[] INTAKE_STATIONS
      Array of points of interest for intake stations.
    • CORAL_REEF_BARS

      public static final POI[] CORAL_REEF_BARS
      Array of points of interest for coral reef bars.
    • ALGA_STATIONS

      public static final POI[] ALGA_STATIONS
      Array of points of interest for alga stations.
    • CAGES

      public static final POI[] CAGES
      Array of points of interest for cages.
  • Method Details

    • getPoiByTagAndAddress

      public static POI getPoiByTagAndAddress(String tag, String address)
      Finds a specific POI by its tag and address
      Parameters:
      tag - The tag to match
      address - The address value to match
      Returns:
      The matching POI or null if not found