jmagnuson / ahrs-rs

A Rust port of Madgwick's AHRS algorithm
MIT License
33 stars 19 forks source link

no_std support? #37

Closed overheat closed 1 year ago

overheat commented 1 year ago

Is it possiable to support no_std enviroment?

Looks nalgebra crate already support no_std https://www.nalgebra.org/docs/user_guide/wasm_and_embedded_targets

jmagnuson commented 1 year ago

no_std support was added in #12. But std is a feature flag that is enabled by default, so default-features = false will need to be set in the Cargo.toml.

https://doc.rust-lang.org/cargo/reference/features.html#dependency-features