pub struct AdaptiveImuPoseMotionModelConfig {
pub failures_to_switch_to_pose: usize,
pub successes_to_switch_to_imu: usize,
pub imu_velocity_refresh_policy: ImuVelocityRefreshPolicy,
}Fields§
§failures_to_switch_to_pose: usizeNumber of consecutive failed-tracking frames (under IMU mode) that triggers a switch to constant-pose mode. Lower values react faster but oscillate more on noisy regimes.
successes_to_switch_to_imu: usizeNumber of consecutive successful-tracking frames (under constant-pose mode) that triggers a switch back to IMU mode. Higher values bias toward stability — the model stays in pose mode longer before re-trusting the IMU prediction.
imu_velocity_refresh_policy: ImuVelocityRefreshPolicyPolicy for refreshing the wrapped IMU model’s velocity_world
at every Pose → IMU switch-back. See
ImuVelocityRefreshPolicy for the semantics of each variant
and the motivation behind the Phase-24 / Phase-25 thread.
Trait Implementations§
Source§impl Clone for AdaptiveImuPoseMotionModelConfig
impl Clone for AdaptiveImuPoseMotionModelConfig
Source§fn clone(&self) -> AdaptiveImuPoseMotionModelConfig
fn clone(&self) -> AdaptiveImuPoseMotionModelConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AdaptiveImuPoseMotionModelConfig
impl Default for AdaptiveImuPoseMotionModelConfig
Source§fn default() -> AdaptiveImuPoseMotionModelConfig
fn default() -> AdaptiveImuPoseMotionModelConfig
Returns the “default value” for a type. Read more
impl StructuralPartialEq for AdaptiveImuPoseMotionModelConfig
Auto Trait Implementations§
impl Forget for AdaptiveImuPoseMotionModelConfig
impl Freeze for AdaptiveImuPoseMotionModelConfig
impl Move for AdaptiveImuPoseMotionModelConfig
impl RefUnwindSafe for AdaptiveImuPoseMotionModelConfig
impl Send for AdaptiveImuPoseMotionModelConfig
impl Sync for AdaptiveImuPoseMotionModelConfig
impl Unpin for AdaptiveImuPoseMotionModelConfig
impl UnsafeUnpin for AdaptiveImuPoseMotionModelConfig
impl UnwindSafe for AdaptiveImuPoseMotionModelConfig
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.