pub enum Alignment {
Static,
Coarse(Coarse),
Seeded,
}Expand description
What Eskf::initialize achieved.
A window that is short or moving is not a failure — it is a coarser start, and the
filter says which it got rather than refusing to run. See
Status::Aligning.
Variants§
Static
The window was long enough and genuinely still: tilt from averaged gravity, gyro
bias from the averaged rate, and the covariance
Initialization describes. Equations (5)–(8).
Coarse(Coarse)
The window was usable but not a static interval, so the covariance says what that
window supports rather than what a still one would. The filter runs and reports
Status::Aligning until tilt and heading uncertainty
first come within ALIGNED_TILT and
ALIGNED_HEADING.
Seeded
The state came from Eskf::initialize_from rather
than from a window. Whether it counts as aligned is a question for the covariance
the caller supplied, not for this value.
Implementations§
Trait Implementations§
impl Copy for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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,
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.