pub struct Innovation { /* private fields */ }Expand description
The innovation of one update and its variance: ν of equation (23) and the diagonal of
S of equation (24), one entry per component of the observation.
The diagonal rather than the whole of S, which is what PX4 publishes too
(estimator_innovations and estimator_innovation_variances): it is what a per-axis plot
of ν against ±3√S reads. The joint ε = νᵀ S⁻¹ ν the gate tests is
test_ratio times the source’s threshold in
Gates, so it is not repeated here.
Room for three components, the largest observation this crate makes; a scalar source fills one.
Implementations§
Trait Implementations§
Source§impl Clone for Innovation
impl Clone for Innovation
impl Copy for Innovation
Source§impl Debug for Innovation
impl Debug for Innovation
Source§impl Default for Innovation
impl Default for Innovation
Source§impl Format for Innovation
Available on crate feature defmt only.The components the observation has, not the three the storage holds.
impl Format for Innovation
Available on crate feature
defmt only.The components the observation has, not the three the storage holds.
Source§impl PartialEq for Innovation
impl PartialEq for Innovation
impl StructuralPartialEq for Innovation
Auto Trait Implementations§
impl Freeze for Innovation
impl RefUnwindSafe for Innovation
impl Send for Innovation
impl Sync for Innovation
impl Unpin for Innovation
impl UnsafeUnpin for Innovation
impl UnwindSafe for Innovation
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.