Package frc.robot
Class Constants.FieldConstants.ShootingZones
java.lang.Object
frc.robot.Constants.FieldConstants.ShootingZones
- Enclosing class:
- Constants.FieldConstants
Zones and poses to shoot from and to.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BiAlliancePose3dThe pose to shoot at for theHUB_ZONE_REDandHUB_ZONE_BLUE.static final Rectangle2dA rectangle encompassing the shooting zone for the hub on the blue alliance.static final Rectangle2dA rectangle encompassing the shooting zone for the hub on the red alliance.static final Rectangle2dA rectangle encompassing the shooting zone for the bottom half (towards positive Y) of the neutral rectangle (when looking at the field diagram).static final Rectangle2dA rectangle encompassing the shooting zone for the top half (towards negative Y) of the neutral rectangle (when looking at the field diagram).static final BiAlliancePose3dThe pose to shoot at for thebottom of the neutral rectangle(when looking at the field diagram).static final BiAlliancePose3dThe pose to shoot at for thetop of the neutral rectangle(when looking at the field diagram). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NEUTRAL_ZONE_TOP
A rectangle encompassing the shooting zone for the top half (towards negative Y) of the neutral rectangle (when looking at the field diagram). -
NEUTRAL_ZONE_BOTTOM
A rectangle encompassing the shooting zone for the bottom half (towards positive Y) of the neutral rectangle (when looking at the field diagram). -
SHUTTLE_TOP_POSE
The pose to shoot at for thetop of the neutral rectangle(when looking at the field diagram). -
SHUTTLE_BOTTOM_POSE
The pose to shoot at for thebottom of the neutral rectangle(when looking at the field diagram). -
HUB_ZONE_RED
A rectangle encompassing the shooting zone for the hub on the red alliance. -
HUB_ZONE_BLUE
A rectangle encompassing the shooting zone for the hub on the blue alliance. -
HUB_POSE
The pose to shoot at for theHUB_ZONE_REDandHUB_ZONE_BLUE.
-
-
Constructor Details
-
ShootingZones
public ShootingZones()
-