pub struct Settings { /* private fields */ }
Expand description
AHRS algorithm settings.
Implementations§
Source§impl Settings
impl Settings
Sourcepub fn set_convention(&mut self, convention: Convention)
pub fn set_convention(&mut self, convention: Convention)
Sets the Earth axes convention.
Sourcepub fn set_gyroscope_range(&mut self, range: f32)
pub fn set_gyroscope_range(&mut self, range: f32)
Sets the gyroscope range.
Sourcepub fn set_acceleration_rejection(&mut self, rejection: f32)
pub fn set_acceleration_rejection(&mut self, rejection: f32)
Sets the acceleration rejection.
Sourcepub fn set_magnetic_rejection(&mut self, rejection: f32)
pub fn set_magnetic_rejection(&mut self, rejection: f32)
Sets the magnetic rejection.
Sourcepub fn set_recovery_trigger_period(&mut self, period: u32)
pub fn set_recovery_trigger_period(&mut self, period: u32)
Sets the recovery trigger period.
Trait Implementations§
impl Copy for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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