Package frc.robot.helpers
Class POI
java.lang.Object
frc.robot.helpers.POI
Point of Interest on the field Contains a pose, alliance designation, and a descriptive tag
Constructor Summary
ConstructorsMethod Summary
Constructor Details
POI
Creates a new POI.- Parameters:
pose
- The pose of the POI.tag
- The tag of the POI.addr
- The address of the POI.
Method Details
get
public edu.wpi.first.math.geometry.Pose2d get(edu.wpi.first.wpilibj.DriverStation.Alliance alliance) Gets the pose of the POI for the given alliance.- Parameters:
alliance
- The alliance to get the pose for.- Returns:
- The pose of the POI for the given alliance.
getTag
Gets the descriptive tag for this POI- Returns:
- The tag string
getAddr
Gets the addr for the POI- Returns:
- The addr string