Package frc.robot
Class FieldConstants.LinesHorizontal
java.lang.Object
frc.robot.FieldConstants.LinesHorizontal
- Enclosing class:
- FieldConstants
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
FieldsModifier and TypeFieldDescriptionstatic final doubleField centerline Y (half the field width).static final doubleY at the near edge of the left bump (closest to hub).static final doubleY at the far edge of the left bump (away from hub).static final doubleY at the end of the open area adjacent to the left trench.static final doubleY at the start of the left trench open segment (field boundary).static final doubleY at the far edge of the right bump (away from hub).static final doubleY at the near edge of the right bump (closest to hub).static final doubleY at the end of the right trench open segment (field boundary).static final doubleY at the start of the open area adjacent to the right trench. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
center
public static final double centerField centerline Y (half the field width). -
rightBumpStart
public static final double rightBumpStartY at the near edge of the right bump (closest to hub). -
rightBumpEnd
public static final double rightBumpEndY at the far edge of the right bump (away from hub). -
rightTrenchOpenStart
public static final double rightTrenchOpenStartY at the start of the open area adjacent to the right trench.Includes a small spacing from the bump.
-
rightTrenchOpenEnd
public static final double rightTrenchOpenEndY at the end of the right trench open segment (field boundary).- See Also:
-
leftBumpEnd
public static final double leftBumpEndY at the near edge of the left bump (closest to hub). -
leftBumpStart
public static final double leftBumpStartY at the far edge of the left bump (away from hub). -
leftTrenchOpenEnd
public static final double leftTrenchOpenEndY at the end of the open area adjacent to the left trench.Includes a small spacing from the bump.
-
leftTrenchOpenStart
public static final double leftTrenchOpenStartY at the start of the left trench open segment (field boundary).
-
-
Constructor Details
-
LinesHorizontal
public LinesHorizontal()
-