[][src]Crate accelerometer

Generic embedded-friendly accelerometer support, including traits and types for representing readings from 2 or 3-axis accelerometers.

Also includes optional device position tracking support with statistical methods for smoothing out noisy accelerometer data.

Re-exports

pub use crate::tracking::*;
pub use crate::error::*;
pub use crate::vector::*;

Modules

error

Accelerometer errors - generic over an inner "cause" type (intended to be an underlying I2C or SPI error type, if applicable)

tracking

Device position tracking which uses statistical methods to filter noisy accelerometer data (moving average computed from a trimmed mean with outliers culled).

vector

Algebraic vector types generic over a number of axes and a component type, useful for representing accelerometer data or values computed from it.

Traits

Accelerometer

Accelerometers which measure acceleration vectors of type V