Gazebo | Ignition | Community
Ask Your Question
0

What does the "w" in an IMU messag stand for?

asked 2018-09-03 09:01:36 -0600

vonunwerth gravatar image

Hello there, i use the Gazebo IMU-Plugin to generate sensor data of an IMU for my robot. An IMU message looks like the following:

header: ...
orientation:
x: -9.881865455454e-324
y: -9.881865455454e-324
z: 8.8755655245457e-17
w: 1.0
orientation_covariance ...

I understand the x,y,z koordinates, but what does that "w" mean?

Thanks for your help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-09-04 01:26:47 -0600

Raskkii gravatar image

The xyzw-coordinate is actually called a quaternion. It's a way of representing 3D rotations.

I suggest you read the wiki page: https://en.wikipedia.org/wiki/Quaternion

And here's a useful link to visualize your quaternions and to also convert them to more understandable Euler angles: https://quaternions.online

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-09-03 09:01:36 -0600

Seen: 1,043 times

Last updated: Sep 04 '18