Skip to main content
Graduate
June 6, 2022
Solved

How can i get Euler Angle's

  • June 6, 2022
  • 1 reply
  • 1572 views

Hi i am using STEVAL-MKI182V2 evaluation board and i am having a doubt that in this PDF dt0060-exploiting-the-gyroscope-to-update-tilt-measurement-and-ecompass-stmicroelectronics.pdf at purpose and benefits para, it is mentioned that This design tip explains how to exploit gyroscope data to update tilt measurements (roll and pitch angles) and eCompass (yaw angle). in my sensor i can able to read X,Y,Z axis of accelerometer and Gyroscope but my sensor doesn't consists of magnetometer without magnetometer can i get e compass??

Thank you.

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @Anil​ ,

    >> my sensor doesn't consists of magnetometer without magnetometer can i get e compass??

    Yes for sure. The eCompass simulates the rotational movement usually acquired by the gyroscope when the gyro is not there, so it combines the acceleration and magnetic field data to compensate the absence of the gyro and to calculate the rotational angle.

    For Euler's Angles, you can refer to MotionFX orientation estimation library, which exploits both accelerometer and gyroscope.

    -Eleon

    1 reply

    ST Employee
    June 10, 2022

    Hi @Anil​ ,

    >> my sensor doesn't consists of magnetometer without magnetometer can i get e compass??

    Yes for sure. The eCompass simulates the rotational movement usually acquired by the gyroscope when the gyro is not there, so it combines the acceleration and magnetic field data to compensate the absence of the gyro and to calculate the rotational angle.

    For Euler's Angles, you can refer to MotionFX orientation estimation library, which exploits both accelerometer and gyroscope.

    -Eleon