Package com.marslib.vision
Class AprilTagVisionIOLimelight
java.lang.Object
com.marslib.vision.AprilTagVisionIOLimelight
- All Implemented Interfaces:
AprilTagVisionIO
Real hardware implementation of
AprilTagVisionIO using a Limelight camera.
Fetches MegaTag2 pose estimates via the LimelightHelpers JSON API. Ambiguity is
defaulted to 0.0 because Limelight does not expose per-target pose ambiguity natively; downstream
quality control relies on distance-based standard deviation scaling in MARSVision.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.marslib.vision.AprilTagVisionIO
AprilTagVisionIO.AprilTagVisionIOInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRobotOrientation(double yaw, double yawRate, double pitch, double pitchRate, double roll, double rollRate) Updates the camera configuration with the robot's current gyroscope orientationvoid
-
Constructor Details
-
AprilTagVisionIOLimelight
-
-
Method Details
-
setRobotOrientation
public void setRobotOrientation(double yaw, double yawRate, double pitch, double pitchRate, double roll, double rollRate) Description copied from interface:AprilTagVisionIOUpdates the camera configuration with the robot's current gyroscope orientation- Specified by:
setRobotOrientationin interfaceAprilTagVisionIO
-
updateInputs
- Specified by:
updateInputsin interfaceAprilTagVisionIO
-