Class LocalizationFusionConstants.AutoRealignConstants
java.lang.Object
frc.alotobots.library.subsystems.vision.localizationfusion.LocalizationFusionConstants.AutoRealignConstants
- Enclosing class:
- LocalizationFusionConstants
Constants related to the auto-realignment feature for correcting Quest drift using AprilTags.
This system monitors robot stability and pose error to trigger automatic realignments when the
robot is stationary and significant drift is detected.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleMinimum time between auto-realignments (seconds).static final booleanWhether auto-realignment should be enabled.static final doubleMaximum pose change over stability period to be considered stable (meters).static final doubleTime robot must be stable before realigning (seconds).static final doubleThreshold for auto-realignment when pose error exceeds this value (meters). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENABLED
public static final boolean ENABLEDWhether auto-realignment should be enabled.- See Also:
-
THRESHOLD
public static final double THRESHOLDThreshold for auto-realignment when pose error exceeds this value (meters).- See Also:
-
MAX_MOVEMENT
public static final double MAX_MOVEMENTMaximum pose change over stability period to be considered stable (meters).- See Also:
-
STABILITY_TIME
public static final double STABILITY_TIMETime robot must be stable before realigning (seconds).- See Also:
-
COOLDOWN
public static final double COOLDOWNMinimum time between auto-realignments (seconds).- See Also:
-
-
Constructor Details
-
AutoRealignConstants
public AutoRealignConstants()
-