Information on message sensor_msgs/Imu

Hi guyz,

I am new with ROS, and I am trying to use the output of the hector_mapping and my IMU data and fuse them into the robot_pose_ekf filter.

I wanted to have more information on the message units and frame of the data.

1)The angular_velocity is in rad/s or in deg/s ? 2)The linear acceleration are in g or in m/s^2 ?

3)What is the meaning of the covariance matrix? Shouldn't it be called the variance matrix? By definition :

The variance is a measure of how far a set of numbers is spread out.

The covariance is a measure of how much two random variables change together.

Since the measure of, for exemple, the acceleration, only depends on the accelerometers in the IMU, there is no point of using the covariance between the accelerometers, the gyrometers and the magnetometers since they are not related ...

Also, what are the units of the different covariance matrix?

I have also a suggestion: It could also be great documentation if each message description explained those information and not only the data types.

Cheers!

Originally posted by ETS-Dronolab on ROS Answers with karma: 264 on 2013-02-01

Post score: 0

Comment by joq on 2013-02-01:
There was a brief problem with the message documentation generator, recently fixed. See: http://www.ros.org/doc/api/sensor_msgs/html/msg/Imu.html

The dimensions of the angular velocity is in rad/s. The linear acceleration goes with m/s^2. As far the covariance goes it means that how two random variables change with respect to each other, So in this case it means that how much change in a particular dimension is linked to the other. As an example the covariance between X and Y dimension, similarly X and Z , Y and Z and so on. It does not mean between different sensors.

As far the units of the covariance matrix is concerned i think it is in the same units as that of the measurement it is associated with.

Originally posted by Karan with karma: 263 on 2013-02-01

This answer was ACCEPTED on the original site

Post score: 1