Closed digitaldanny closed 3 years ago
Learning to implement and use a rotation matrix from quaternions.
Posting snapshots below of the Arduino test while rotating along the pitch and roll axes.
Pitch can rotate +/- 45 degrees. After that, values begin to invert. Still not exactly sure how to deal with that.
Roll can rotate fully side-to-side (+/- 90 degrees). There does seem to be a drifting issue. It looks like the values eventually "settle" into the expected angle. I think this could be improved as well, but this should be enough to demo at least.
Pitch Rotation
Roll Rotation
In this PR: