Package frc.robot.Subsystems.Vision
Class Vision
java.lang.Object
frc.robot.Subsystems.Vision.Vision
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionOptional<frc.robot.Subsystems.Vision.Vision.CameraResults>Optional<frc.robot.Subsystems.Vision.Vision.CameraResults>readPhotonResults(org.photonvision.PhotonCamera camera, org.photonvision.PhotonPoseEstimator photon_pose_estimator, VisionPoseCache cache) voidSwitch the pipelines of the two OV cameras.voidupdate()
-
Field Details
-
instance
-
-
Method Details
-
readPhotonResults
public Optional<frc.robot.Subsystems.Vision.Vision.CameraResults> readPhotonResults(org.photonvision.PhotonCamera camera, org.photonvision.PhotonPoseEstimator photon_pose_estimator, VisionPoseCache cache) -
readLimelightResults
-
setCameraPipelines
Switch the pipelines of the two OV cameras.- Parameters:
mode- The mode for the two cameras.
-
getCameraMode
-
update
public void update()
-