Package frc.robot.services.vision
Class VisionIOPhoton
java.lang.Object
frc.robot.services.vision.VisionIOPhoton
- All Implemented Interfaces:
VisionIO
PhotonVision implementation of VisionIO for Team 4533. Incorporates 4451's distance-based
standard deviation scaling.
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.services.vision.VisionIO
VisionIO.VisionIOInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbroadcastTelemetry(IMUState imuState) Broadcasts the high frequency 6-DOF IMU state to the vision coprocessor.voidupdateInputs(VisionIO.VisionIOInputs inputs) Updates the set of loggable inputs with the latest data from the vision system.
-
Constructor Details
-
VisionIOPhoton
public VisionIOPhoton()Creates a new VisionIOPhoton and connects to cameras.
-
-
Method Details
-
updateInputs
Description copied from interface:VisionIOUpdates the set of loggable inputs with the latest data from the vision system.- Specified by:
updateInputsin interfaceVisionIO- Parameters:
inputs- The inputs object to update.
-
broadcastTelemetry
Description copied from interface:VisionIOBroadcasts the high frequency 6-DOF IMU state to the vision coprocessor.- Specified by:
broadcastTelemetryin interfaceVisionIO- Parameters:
imuState- The latest snapshot of the robot's IMU.
-