pub struct SigmaBounds { /* private fields */ }Expand description
Where a reported standard deviation is allowed to lie, for the clamped constructors of
PositionNoise and VelocityNoise: a floor, a cap, or both.
A type rather than two bare f32s, and one per axis, because both production estimators
bound the horizontal and vertical axes of one fix differently (PX4 and ArduPilot each floor
vertical position at 1.5 times the horizontal floor), and a caller holds these in its own
configuration and passes them on every fix. Copy for that reason, where a
RangeInclusive would need cloning at each call.
Implementations§
Source§impl SigmaBounds
impl SigmaBounds
Trait Implementations§
Source§impl Clone for SigmaBounds
impl Clone for SigmaBounds
impl Copy for SigmaBounds
Source§impl Debug for SigmaBounds
impl Debug for SigmaBounds
Source§impl PartialEq for SigmaBounds
impl PartialEq for SigmaBounds
impl StructuralPartialEq for SigmaBounds
Auto Trait Implementations§
impl Freeze for SigmaBounds
impl RefUnwindSafe for SigmaBounds
impl Send for SigmaBounds
impl Sync for SigmaBounds
impl Unpin for SigmaBounds
impl UnsafeUnpin for SigmaBounds
impl UnwindSafe for SigmaBounds
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,
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.