cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get Euler Angle's

Anil3
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

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

View solution in original post

1 REPLY 1
Eleon BORLINI
ST Employee

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