arduino-libraries / MadgwickAHRS

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

Added getYPR, getYPRRadians and getQuaternion. Possible usage for variable integration steps. #18

Open afrancescon opened 6 years ago

afrancescon commented 6 years ago

Added convenient method to access yaw, pitch and roll in one call (helps in some to keep code clear).

Added getQuaternion to access internal quaternion where needed.

afrancescon commented 6 years ago

I further added update methods with time (in millis) argument. This can be helpful when integration time is not fixed but can vary due to other MCU activities. I put attention to keep signature back-compatible.

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.