marg_orientation/
lib.rs

1// Enable no_std mode.
2#![cfg_attr(not(feature = "std"), no_std)]
3// Ensure allow(unsafe_code) / forbid(unsafe_code) markers.
4#![cfg_attr(feature = "unsafe", allow(unsafe_code))]
5#![cfg_attr(not(feature = "unsafe"), forbid(unsafe_code))]
6// Only enables the `doc_cfg` feature when the `docsrs` configuration attribute is defined.
7#![cfg_attr(docsrs, feature(doc_cfg))]
8
9mod accelerometer_noise;
10mod accelerometer_reading;
11mod euler_angles;
12pub mod gyro_drift;
13pub mod gyro_free;
14mod gyroscope_bias;
15mod gyroscope_noise;
16mod gyroscope_reading;
17mod macros;
18mod magnetometer_noise;
19mod magnetometer_reading;
20mod num_traits;
21#[deprecated(note = "This is a test implementation not suitable for real use")]
22pub mod test_estimator;
23mod vector3;
24
25pub use crate::accelerometer_noise::AccelerometerNoise;
26pub use crate::accelerometer_reading::AccelerometerReading;
27pub use crate::euler_angles::EulerAngles;
28pub use crate::gyroscope_bias::GyroscopeBias;
29pub use crate::gyroscope_noise::GyroscopeNoise;
30pub use crate::gyroscope_reading::GyroscopeReading;
31pub use crate::magnetometer_noise::MagnetometerNoise;
32pub use crate::magnetometer_reading::MagnetometerReading;
33pub use crate::vector3::Vector3;
34
35pub use crate::num_traits::*;