pub struct InertialFilterConfig {
pub imu_spec: ImuSpec,
pub filter_kind: FusionFilterKind,
pub imu_model: ImuErrorModel,
pub imu_to_body_dcm: [[f64; 3]; 3],
pub mechanization: MechanizationConfig,
pub loose: LooseCouplingConfig,
pub tight: TightCouplingConfig,
pub ukf_update_options: UkfUpdateOptions,
}Expand description
Configuration for an InertialFilter.
Fields§
§imu_spec: ImuSpecIMU stochastic model used for covariance prediction.
filter_kind: FusionFilterKindMeasurement-update algorithm used by loose and tight GNSS updates.
imu_model: ImuErrorModelDeterministic IMU calibration applied before mechanization.
imu_to_body_dcm: [[f64; 3]; 3]Direction cosine matrix rotating IMU sensor axes into vehicle body axes.
Bias and scale-factor error states remain resolved in IMU axes; corrected samples are rotated into body axes before mechanization and covariance prediction.
mechanization: MechanizationConfigStrapdown mechanization options.
loose: LooseCouplingConfigLoose GNSS update options.
tight: TightCouplingConfigTight raw GNSS update options.
ukf_update_options: UkfUpdateOptionsUKF correction options used when Self::filter_kind is FusionFilterKind::Ukf.
Implementations§
Source§impl InertialFilterConfig
impl InertialFilterConfig
Sourcepub fn new(imu_spec: ImuSpec) -> Result<InertialFilterConfig, FusionError>
pub fn new(imu_spec: ImuSpec) -> Result<InertialFilterConfig, FusionError>
Build a filter configuration with default calibration and loose settings.
Sourcepub fn validate(&self) -> Result<(), FusionError>
pub fn validate(&self) -> Result<(), FusionError>
Validate IMU, mechanization, and loose-coupling settings.
Trait Implementations§
Source§impl Clone for InertialFilterConfig
impl Clone for InertialFilterConfig
Source§fn clone(&self) -> InertialFilterConfig
fn clone(&self) -> InertialFilterConfig
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 moreimpl Copy for InertialFilterConfig
Source§impl Debug for InertialFilterConfig
impl Debug for InertialFilterConfig
Source§impl PartialEq for InertialFilterConfig
impl PartialEq for InertialFilterConfig
impl StructuralPartialEq for InertialFilterConfig
Auto Trait Implementations§
impl Freeze for InertialFilterConfig
impl RefUnwindSafe for InertialFilterConfig
impl Send for InertialFilterConfig
impl Sync for InertialFilterConfig
impl Unpin for InertialFilterConfig
impl UnsafeUnpin for InertialFilterConfig
impl UnwindSafe for InertialFilterConfig
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.