Class FieldConstants.Rectangles
- Enclosing class:
- FieldConstants
All rectangles are defined in field coordinates using Pose2d for their center
position and are intended to represent alliance zones, climber areas, droppers, and the
neutral zone.
All dimensions are expressed in meters unless otherwise specified.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RectangleThe Blue Alliance zone.static final RectangleThe Blue Alliance climber area.static final RectangleThe Blue Alliance dropper area.static final RectangleThe neutral zone.static final RectangleThe Red Alliance zone.static final RectangleThe Red Alliance climber area.static final RectangleThe Red Alliance dropper area. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
blueAlliance
The Blue Alliance zone.This rectangle spans the full field width and extends from the blue alliance wall to the hub center line.
-
blueAllianceClimber
The Blue Alliance climber area.Located near the blue alliance wall and centered horizontally on the field. Dimensions are based on official field measurements.
-
blueDropper
The Blue Alliance dropper area.Positioned adjacent to the hub on the blue alliance side, offset slightly from the hub edge.
-
neutralZone
The neutral zone.This rectangle represents the central field area between alliance zones, bounded vertically by the neutral zone lines and horizontally by the open trench boundaries.
-
redDropper
The Red Alliance dropper area.Mirrors the blue dropper area, positioned adjacent to the hub on the red alliance side.
-
redAlliance
The Red Alliance zone.This rectangle spans the full field width and extends from the red alliance wall to the hub center line.
-
redAllianceClimber
The Red Alliance climber area.Located near the red alliance wall and centered horizontally on the field. Dimensions mirror those of the blue alliance climber.
-
-
Constructor Details
-
Rectangles
public Rectangles()
-