jmagnuson / ahrs-rs

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

Feature flag `field_access` #10

Closed jmagnuson closed 5 years ago

jmagnuson commented 5 years ago

Gives [im]mutable access to inner algorithm struct fields that aren't normally exposed. The exposed API is considered unstable for the time-being, but is nevertheless a useful feature.

Making all fields pub might be cleaner, but I personally prefer a defined API over unfettered access.

This PR also: