Class LocalizationFusionConstants.ValidationThresholds
java.lang.Object
frc.alotobots.library.subsystems.vision.localizationfusion.LocalizationFusionConstants.ValidationThresholds
- Enclosing class:
- LocalizationFusionConstants
Constants related to pose validation and thresholds. Defines distance and rotation thresholds
for validating poses from different sources.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Maximum acceptable difference between AprilTag and Quest poses for validation (meters).static final double
Maximum allowed pose change during disabled state to trigger recalibration (meters).static final double
Stricter threshold used during initialization phase for validating poses (meters).static final double
Maximum allowed rotation change between poses (degrees). -
Constructor Summary
-
Method Summary
-
Field Details
-
APRILTAG_VALIDATION_THRESHOLD
public static final double APRILTAG_VALIDATION_THRESHOLDMaximum acceptable difference between AprilTag and Quest poses for validation (meters).- See Also:
-
INIT_VALIDATION_THRESHOLD
public static final double INIT_VALIDATION_THRESHOLDStricter threshold used during initialization phase for validating poses (meters).- See Also:
-
DISABLED_RECALIBRATION_THRESHOLD
public static final double DISABLED_RECALIBRATION_THRESHOLDMaximum allowed pose change during disabled state to trigger recalibration (meters).- See Also:
-
MAX_ROTATION_CHANGE_DEGREES
public static final double MAX_ROTATION_CHANGE_DEGREESMaximum allowed rotation change between poses (degrees).- See Also:
-
-
Constructor Details
-
ValidationThresholds
public ValidationThresholds()
-