Jump to content

Rotation Matrix for Yaw, Pitch and roll with IMU bricklet 3.0


Groudaut

Recommended Posts

Hello,

I have IMU bricklet 3.0 and get Yaw, Pitch and Roll data. I want to calculate the position [X Y Z] in earth frame of a given point (x, y, z coordinates in IMU reference frame is [1, 0, 0] ) according to Pitch, Roll and Yaw data from IMU.

I have difficulties to find the rotation matrix R (3x3) to get X,Y,Z. The formula is [X,Y,Z]= [x,y,z] * R.

I worked for hours on this and tried many differents rotation matrix according to this source : https://en.wikipedia.org/wiki/Euler_angles.

I don't know in witch order the 3 rotations are done (around IMU axes) and I don't know which axes are used for Pitch Yaw and roll reference in the IMU...

I think IMU use extrinsic references axes : for example when roll is about 30°, if I change the pitch the heading change also.

I found this discussion about BNO055 sensor (used in IMU 3.0) but it doesn't solve my problem ! https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BNO055-How-to-use-Euler-angles/td-p/45085

Does someone has the correct rotation matrix ? or could help me (ideas to proceed some tests, some references....)

Thanks

Gil.

Link to comment
Share on other sites

Thanks for the answer. Well, It's seems a little bit more complicate, but maybe not... I have to go through and, archive quaternions from IMU3.0, get or write some codes and make some new tests. I will come back when I will proceed to all of this steps.

If anyone else have other solutions, or already solve this orientation problem, please tell me.

Gil.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...