Class PoseEstimator
java.lang.Object
io.github.roboblazers7617.limelight.PoseEstimator
Class to get pose estimate data from a
Limelight
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The different pose estimators available to query. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PoseEstimator
(Limelight limelight, PoseEstimator.PoseEstimators poseEstimator) Creates a new PoseEstimator. -
Method Summary
Modifier and TypeMethodDescriptionGets the pose estimates for this PoseEstimator.Returns whether or not the given pose estimate is valid.
-
Constructor Details
-
PoseEstimator
Creates a new PoseEstimator.- Parameters:
limelight
- TheLimelight
to get data from.poseEstimator
- Thepose estimator
to use.
-
-
Method Details
-
getBotPoseEstimates
Gets the pose estimates for this PoseEstimator.- Returns:
- Array of pose estimates from this PoseEstimator.
-
validPoseEstimate
Returns whether or not the given pose estimate is valid.- Parameters:
pose
- Pose estimate to check.- Returns:
- Is this pose estimate valid?
-