Class SimVision.LimelightSimIO
java.lang.Object
frc.robot.subsystems.vision.SimVision.LimelightSimIO
- All Implemented Interfaces:
PoseSourceIO
- Enclosing class:
SimVision
A Limelight source backed by a PhotonLib sim camera.
pushedHeading is the heading the robot would have pushed to the camera at a given
capture time (the fused heading), used for MegaTag2.
-
Field Summary
Fields inherited from interface PoseSourceIO
NONE -
Constructor Summary
ConstructorsConstructorDescriptionLimelightSimIO(SimVision.LimelightSimCamera cam, PoseObservation.Kind kind, DoubleFunction<Rotation2d> pushedHeading) -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateInputs(PoseSourceInputs inputs) Fillsinputswith everything reported since the last call.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PoseSourceIO
derived
-
Constructor Details
-
LimelightSimIO
public LimelightSimIO(SimVision.LimelightSimCamera cam, PoseObservation.Kind kind, DoubleFunction<Rotation2d> pushedHeading)
-
-
Method Details
-
updateInputs
Description copied from interface:PoseSourceIOFillsinputswith everything reported since the last call.- Specified by:
updateInputsin interfacePoseSourceIO- Parameters:
inputs- the inputs to overwrite
-