ahrs-rs icon indicating copy to clipboard operation
ahrs-rs copied to clipboard

A Rust port of Madgwick's AHRS algorithm

Results 6 ahrs-rs issues
Sort by recently updated
recently updated
newest added

I think having the ability to obtain an estimate, even in the edge case where the accelerometer and/or magnetometer norm are zero would be a good idea. So basically just...

Need this: ``` ahrs = { version = "0.6", default-features = false } nalgebra = { version = "0.31.4", default-features = false } ``` the nalgebra version is not updated....

``` let mut ahrs = Madgwick::::new(1.0/1000.0, 0.1); let gyro = Vector3::new(0.0, 0.0, 0.0); let acce = Vector3::new(0.0, 0.0, 1.0); let quat = ahrs.update_imu( &gyro, &acce, ).unwrap(); ``` `quat` will be...

Both Madgwick and Mahony filter implementations are using a fixed `sample_period`. However in non real-time systems, it is more accurate to directly pass the time delta between two measurements: ```rust...

The current implementation intends to abstract across the expected scalar types (`f32`, `f64`) as well as simd types (`f64x4`, etc.) but no unit tests exist to cover the latter. This...

Currently just using some variety of `&str`. Since #17 is technically breaking, might as well make other breaking improvements along with it. Use [`thiserror`](https://github.com/dtolnay/thiserror).