[−][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::orientation::*; |
pub use crate::error::*; |
Modules
error | Accelerometer errors - generic over an inner "cause" type (intended to be an underlying I2C or SPI error type, if applicable) |
orientation | Orientation tracking for accelerometer-equipped devices |
vector | Algebraic vector types generic over a number of axes and a component type |
Structs
F32x2 | 2-dimensional XY vector of |
F32x3 | 3-dimensional XYZ vector of |
I16x2 | 2-dimensional XY vector of |
I16x3 | 3-dimensional XYZ vector of |
I8x2 | 2-dimensional XY vector of |
I8x3 | 3-dimensional XYZ vector of |
Iter | Iterator over the components of an algebraic vector |
U16x2 | 2-dimensional XY vector of |
U16x3 | 3-dimensional XYZ vector of |
U8x2 | 2-dimensional XY vector of |
U8x3 | 3-dimensional XYZ vector of |
Traits
Accelerometer | Accelerometers which measure acceleration vectors of type |
Component | Vector components |
Vector | Vectors with numeric components |