Class AprilTagVisionIOPhotonVision

java.lang.Object
xbot.common.subsystems.vision.AprilTagVisionIOPhotonVision
All Implemented Interfaces:
AprilTagVisionIO
Direct Known Subclasses:
AprilTagVisionIOPhotonVisionSimulated

public class AprilTagVisionIOPhotonVision extends Object implements AprilTagVisionIO
IO implementation for real PhotonVision hardware. Based on the AdvantageKit sample implementation by team 6328.
  • Field Details

  • Constructor Details

    • AprilTagVisionIOPhotonVision

      @AssistedInject public AprilTagVisionIOPhotonVision(@Assisted String name, @Assisted Transform3d robotToCamera, AprilTagFieldLayout fieldLayout)
      Creates a new VisionIOPhotonVision.
      Parameters:
      name - The configured name of the camera.
      robotToCamera - The 3D position of the camera relative to the robot.
      fieldLayout - The April Tag field layout.
  • Method Details