pub enum MotionViInitializationStatus {
Disabled,
Waiting {
keyframes_observed: usize,
cumulative_translation_meters: f64,
buffered_factor_count: usize,
last_rejection: Option<MotionBasedViRejectionReason>,
velocity_stage_completed: bool,
last_gravity_alignment: Option<GravityVelocityAlignment>,
last_gyro_bias_alignment: Option<GyroBiasAlignment>,
},
Initialised {
result: MotionBasedViInitializationResult,
},
}Expand description
Read-only snapshot of the motion-based VI init stage. Returned by
crate::OnlineSlamPipeline::motion_vi_initialization_status.
Variants§
Disabled
The parent pipeline has no vi_motion_init config.
Waiting
Static seed in hand; accumulating keyframes / translation until the trigger fires.
Fields
last_rejection: Option<MotionBasedViRejectionReason>velocity_stage_completed: booltrue once a crate::BiasReleaseSchedule Stage A (“velocity
stage”) solve has fired and is cached on the inner
MotionBasedViInitializer (see
MotionBasedViInitializer::velocity_stage_result). Always
false when no bias-release schedule is configured.
last_gravity_alignment: Option<GravityVelocityAlignment>Mirrors MotionBasedViInitializer::last_gravity_alignment:
the most recent gravity/velocity alignment attempt, kept even
when last_rejection reports a later gate rejected it. None
when estimate_gravity is off or no attempt has run yet.
last_gyro_bias_alignment: Option<GyroBiasAlignment>Mirrors MotionBasedViInitializer::last_gyro_bias_alignment:
the most recent gyro-bias rotation-only alignment attempt, kept
even when last_rejection reports a later gate rejected it.
None when estimate_gyro_bias is off or no attempt has run
yet.
Initialised
VIBA1 has fired and succeeded; the result is the recovered refinement.
Fields
Trait Implementations§
Source§impl Clone for MotionViInitializationStatus
impl Clone for MotionViInitializationStatus
Source§fn clone(&self) -> MotionViInitializationStatus
fn clone(&self) -> MotionViInitializationStatus
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 MotionViInitializationStatus
impl Debug for MotionViInitializationStatus
impl StructuralPartialEq for MotionViInitializationStatus
Auto Trait Implementations§
impl Forget for MotionViInitializationStatus
impl Freeze for MotionViInitializationStatus
impl Move for MotionViInitializationStatus
impl RefUnwindSafe for MotionViInitializationStatus
impl Send for MotionViInitializationStatus
impl Sync for MotionViInitializationStatus
impl Unpin for MotionViInitializationStatus
impl UnsafeUnpin for MotionViInitializationStatus
impl UnwindSafe for MotionViInitializationStatus
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.