-1

I'm using MEMS gyroscope to calculate orientation of device(Yaw, Pitch and roll). I got following pdf which specifies about how to process raw data available from chip and calculate orientation. This doc tells about using quaternion to do calculations. Can anyone tell me about how to process the equation 14(build quaternion and multiply it with angular rate) on page 37 in this document.

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/TECHNICAL_ARTICLE/DM00034730.pdf

Thank

1 Answers1

0

I highly recommend the Direction Cosine Matrix IMU: Theory manuscript, I have implemented sensor fusion for Shimmer 2 devices based on it.

That manuscript is basically a tutorial, pretty straightforward and simple. It also uses rotation matrices instead of quaternions and rotation matrices are easier to understand.

Do not use yaw, pitch and roll, Euler angles are evil.

Well, good luck!

Community
  • 1
  • 1
Ali
  • 56,466
  • 29
  • 168
  • 265