digitaldanny / AudioEffectsGlove

A hand tracking glove that controls parameters of various audio effects.
1 stars 0 forks source link

Sensor Fusion Algorithm - Arduino Checkout #68

Closed digitaldanny closed 3 years ago

digitaldanny commented 3 years ago

In this PR:

digitaldanny commented 3 years ago

Learning to implement and use a rotation matrix from quaternions.

digitaldanny commented 3 years ago

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 image

Roll Rotation image