NeoBirth / accelerometer.rs

Generic Rust accelerometer support, including traits and types for taking readings from 2 or 3-axis accelerometers
Apache License 2.0
26 stars 10 forks source link

Decouple `Tracker` from `Accelerometer` #38

Closed tarcieri closed 5 years ago

tarcieri commented 5 years ago

The main tracker API is changed to Tracker::update, which takes an acceleration vector, rather than having the tracker own the accelerometer.