Package frc.robot
Class FieldConstants.Tower
java.lang.Object
frc.robot.FieldConstants.Tower
- Enclosing class:
- FieldConstants
Tower geometry and reference points (center and uprights).
Useful for alignment targets and autonomous placement.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Translation2dTower center point on the alliance side (2D).static final doubleTower depth (meters).static final doubleX coordinate of the tower front face (meters).static final doubleTower height (meters).static final doubleHigh rung height above carpet (meters).static final doubleWidth of the inner opening (meters).static final Translation2dLeft upright position on the alliance side (2D).static final doubleLow rung height above carpet (meters).static final doubleMid rung height above carpet (meters).static final Translation2dTower center point on the opposing side (2D).static final Translation2dLeft upright position on the opposing side (2D).static final Translation2dRight upright position on the opposing side (2D).static final Translation2dRight upright position on the alliance side (2D).static final doubleHeight of the uprights (meters).static final doubleTower width (meters). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
width
public static final double widthTower width (meters). -
depth
public static final double depthTower depth (meters). -
height
public static final double heightTower height (meters). -
innerOpeningWidth
public static final double innerOpeningWidthWidth of the inner opening (meters). -
frontFaceX
public static final double frontFaceXX coordinate of the tower front face (meters). -
uprightHeight
public static final double uprightHeightHeight of the uprights (meters). -
lowRungHeight
public static final double lowRungHeightLow rung height above carpet (meters). -
midRungHeight
public static final double midRungHeightMid rung height above carpet (meters). -
highRungHeight
public static final double highRungHeightHigh rung height above carpet (meters). -
centerPoint
Tower center point on the alliance side (2D).Y is derived from AprilTag 31.
-
leftUpright
Left upright position on the alliance side (2D).The extra 0.75 inch accounts for physical offset/clearance.
-
rightUpright
Right upright position on the alliance side (2D).The extra 0.75 inch accounts for physical offset/clearance.
-
oppCenterPoint
Tower center point on the opposing side (2D).X is mirrored about the field length. Y is derived from AprilTag 15.
-
oppLeftUpright
Left upright position on the opposing side (2D). -
oppRightUpright
Right upright position on the opposing side (2D).
-
-
Constructor Details
-
Tower
public Tower()
-