Class CameraProcessor

java.lang.Object
frc.robot.localization.CameraProcessor

public class CameraProcessor extends Object
Filters a PhotonPipelineResult and, when the result passes all quality checks, produces a VisionObservation ready for fusion into DrivetrainState.

This class is stateless with respect to the robot pose it only decides whether a camera frame is trustworthy and computes the appropriate standard deviations. Pose-estimator mutations remain the exclusive responsibility of DrivetrainState.

  • Constructor Details

    • CameraProcessor

      public CameraProcessor(CameraConstants cameraConstants)
      Creates a camera processor.
  • Method Details