Skip to main content
Visitor II
September 27, 2022
Question

The rotation matrix of sequence of calculation of roll pitch yaw

  • September 27, 2022
  • 1 reply
  • 1139 views

I am use lsm6dso with NUCLEO—F401RE board. I want to know what are the roll pitch yaw sequence of calculation. We can not transform body frame to naviagtion if we don't know the transformation matrix sequence.

    This topic has been closed for replies.

    1 reply

    ST Employee
    September 30, 2022

    Hi @HLAW.1​ ,

    You can refer to DT0060 Design tip to calculate quaternions or Euler's angles.

    If you are using an ST library such as the one in the X-CUBE-MEMS1 FW package, you can consider the MotionFX sensor fusion library, which provides real-time motion-sensor data fusion. It also performs gyroscope bias and magnetometer hard iron calibration.

    -Eleon