arduino-libraries / MadgwickAHRS

Arduino implementation of the MadgwickAHRS algorithm
465 stars 196 forks source link

Visualize101.ino: Simplify sensor reading #16

Open eriknyquist opened 8 years ago

eriknyquist commented 8 years ago

CurieIMU now has dataReady() functions to check for newly available accel/gyro data, and also readAccelerometer/GyroScaled(), which reads then sensor and returns values scaled according to the configured range. Using these functions in the Visualize101 example makes the source much simpler

eriknyquist commented 8 years ago

01org/corelibs-arduino101#317 has been merged, this can also be merged now.

PaulStoffregen commented 8 years ago

Has this new 101 core been released to the boards manager downloads?

If it's only been merged on github, but not yet officially released via the boards manger, then updating this library could break things for 101 users.

With this in mind, just tell me when you want it merged. They're your users....

eriknyquist commented 8 years ago

Good point @PaulStoffregen-- I was not thinking straight on Friday. So don't merge yet- I'll let you know when our next release is available from the IDE library manager (currently it is not).

eriknyquist commented 7 years ago

Updated to use readAccelerometerScaled, and readGyroScaled, which greatly simplifies the example (manual conversion no longer required).

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.