Package frc.robot

Class FieldConstants.LinesHorizontal

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

public static class FieldConstants.LinesHorizontal extends Object
Convenient Y positions for important horizontal (field-widthwise) lines.

Horizontal lines are represented as Y offsets in field coordinates.

Convention: "Start" and "End" are left-to-right from the perspective of the BLUE alliance station.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    Field centerline Y (half the field width).
    static final double
    Y at the near edge of the left bump (closest to hub).
    static final double
    Y at the far edge of the left bump (away from hub).
    static final double
    Y at the end of the open area adjacent to the left trench.
    static final double
    Y at the start of the left trench open segment (field boundary).
    static final double
    Y at the far edge of the right bump (away from hub).
    static final double
    Y at the near edge of the right bump (closest to hub).
    static final double
    Y at the end of the right trench open segment (field boundary).
    static final double
    Y at the start of the open area adjacent to the right trench.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • center

      public static final double center
      Field centerline Y (half the field width).
    • rightBumpStart

      public static final double rightBumpStart
      Y at the near edge of the right bump (closest to hub).
    • rightBumpEnd

      public static final double rightBumpEnd
      Y at the far edge of the right bump (away from hub).
    • rightTrenchOpenStart

      public static final double rightTrenchOpenStart
      Y at the start of the open area adjacent to the right trench.

      Includes a small spacing from the bump.

    • rightTrenchOpenEnd

      public static final double rightTrenchOpenEnd
      Y at the end of the right trench open segment (field boundary).
      See Also:
    • leftBumpEnd

      public static final double leftBumpEnd
      Y at the near edge of the left bump (closest to hub).
    • leftBumpStart

      public static final double leftBumpStart
      Y at the far edge of the left bump (away from hub).
    • leftTrenchOpenEnd

      public static final double leftTrenchOpenEnd
      Y at the end of the open area adjacent to the left trench.

      Includes a small spacing from the bump.

    • leftTrenchOpenStart

      public static final double leftTrenchOpenStart
      Y at the start of the left trench open segment (field boundary).
  • Constructor Details

    • LinesHorizontal

      public LinesHorizontal()