pub enum MotionViInitializationEvent {
Succeeded {
result: MotionBasedViInitializationResult,
},
StillWaiting {
reason: MotionBasedViRejectionReason,
},
}Expand description
State-transition event exposed on crate::OnlineSlamResult::vi_motion_init.
Some only on the frame where the motion-based stage actually
changed state.
Variants§
Succeeded
VIBA1 fired and succeeded this frame. The pipeline has atomically
mirrored refined (velocity, bias) into the local-VI-BA state
table and reset the IMU pre-integrator if so configured.
Consumers MUST check result.bias_released before treating this as
the terminal motion-VI-init outcome: when a
crate::BiasReleaseSchedule is configured, this event may instead
report a non-terminal Stage A (“velocity stage”) firing
(bias_released == false) — velocities were refined and mirrored,
but biases still sit at the seed, and the stage remains active
awaiting a later Stage B firing (bias_released == true). true
on both the legacy single-stage path and Stage B.
Fields
StillWaiting
Trigger evaluated this frame but rejected (gate not yet met, no usable factor, or solver failure).
Fields
reason: MotionBasedViRejectionReasonTrait Implementations§
Source§impl Clone for MotionViInitializationEvent
impl Clone for MotionViInitializationEvent
Source§fn clone(&self) -> MotionViInitializationEvent
fn clone(&self) -> MotionViInitializationEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MotionViInitializationEvent
impl Debug for MotionViInitializationEvent
impl StructuralPartialEq for MotionViInitializationEvent
Auto Trait Implementations§
impl Forget for MotionViInitializationEvent
impl Freeze for MotionViInitializationEvent
impl Move for MotionViInitializationEvent
impl RefUnwindSafe for MotionViInitializationEvent
impl Send for MotionViInitializationEvent
impl Sync for MotionViInitializationEvent
impl Unpin for MotionViInitializationEvent
impl UnsafeUnpin for MotionViInitializationEvent
impl UnwindSafe for MotionViInitializationEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.