Record Class AprilTagPoseEstimator.EstimationResult

java.lang.Object
java.lang.Record
frc.robot.subsystems.apriltagvision.AprilTagPoseEstimator.EstimationResult
Record Components:
measurement - the validated vision measurement, or empty if rejected
rejectionReason - the reason for rejection, or empty if accepted
Enclosing class:
AprilTagPoseEstimator

public static record AprilTagPoseEstimator.EstimationResult(Optional<AprilTagPoseEstimator.VisionMeasurement> measurement, Optional<AprilTagPoseEstimator.RejectionReason> rejectionReason) extends Record
Result of evaluating a pose observation. Contains either an accepted measurement or a rejection reason for telemetry.