Class AprilTagVisionIOPhotonVisionSimulated

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

public class AprilTagVisionIOPhotonVisionSimulated extends AprilTagVisionIOPhotonVision
IO implementation for a simulated PhotonVision environment. Based on the AdvantageKit sample implementation by team 6328.
  • Constructor Details

    • AprilTagVisionIOPhotonVisionSimulated

      @AssistedInject public AprilTagVisionIOPhotonVisionSimulated(@Assisted String name, @Assisted Transform3d robotToCamera, AprilTagFieldLayout fieldLayout, dagger.Lazy<SimulatedPositionSupplier> poseSupplier)
      Creates a new AprilTagVisionIOPhotonVisionSimulated.
      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.
      poseSupplier - The simulated position supplier, tells the simulated vision system where the robot is on the simulated field.
  • Method Details