ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What are the units of IMU data?

asked 2016-07-17 21:03:39 -0500

Cerin gravatar image

I'm trying to publish IMU data in ROS vis the IMU message type, but the documentation seems incomplete. What are the units for each field? For example, is angular_velocity in radians or degrees?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-07-18 00:50:55 -0500

gvdhoorn gravatar image

updated 2016-07-18 01:13:52 -0500

All messages that contain fields that represent a measurement of a physical quantity (should) always use SI units for those fields. That is certainly true for all core message sets. REP-103 documents this. We can't guarantee that every author of every non-standard / non-core message pkg adhered to this requirement though. The IMU msgs do however.

In the case of sensor_msgs/Imu, it's also stated in the comments in the .msg file itself (second line of the comments in the file that you linked):

Accelerations should be in m/s^2 (not in g's), and rotational velocity should be in rad/sec

Note also that the orientation field is a quaternion, not a RPYx quartet.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-07-17 21:03:39 -0500

Seen: 1,050 times

Last updated: Jul 18 '16