pub struct AccelFit {
pub valid: bool,
pub offset: [f32; 3],
pub radius: f32,
pub residual: f32,
pub samples: i32,
pub patches_seen: i32,
pub patches: i32,
pub coverage: f32,
pub isotropy: f32,
pub offered: i32,
pub gated: i32,
}Expand description
The accelerometer offset in force: the live fit, or one loaded from a tag.
Fields§
§valid: boolWhether offset, radius and residual are a fit or a loaded offset.
offset: [f32; 3]Zero-g offset, mg.
radius: f32Fitted sphere radius, mg; 0 when loaded.
residual: f32RMS distance from the sphere, mg.
samples: i32Readings the fit was built from.
patches_seen: i32Occupied direction patches.
patches: i32Patches in the lattice.
coverage: f32patches_seen / patches.
isotropy: f32Direction evenness, 0 to 1.
offered: i32Readings offered since the last clear.
gated: i32Of those, rejected as motion.
Trait Implementations§
impl Copy for AccelFit
impl StructuralPartialEq for AccelFit
Auto Trait Implementations§
impl Freeze for AccelFit
impl RefUnwindSafe for AccelFit
impl Send for AccelFit
impl Sync for AccelFit
impl Unpin for AccelFit
impl UnsafeUnpin for AccelFit
impl UnwindSafe for AccelFit
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