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

Revision history [back]

The Kinect only has an accelerometer, not a full IMU integrated into it. With the accelerometer, you could get an estimate of the pitch and roll of the Kinect relative to the ground (these would be based on the gravity vector) in addition to the instantaneous accelerations.

However, you would need a magnetometer to get an estimate of current yaw angle relative to magnetic north (or the strongest magnet near you... watch for magnetic door locks). Integrating a gyro could also give you the yaw orientation component, but integration can suffer from any bias that the gyro has on its measurements and, when even a small bias is compounded through repeated integration, could lead to inaccurate estimates for the yaw component of orientation.

If I remember correctly, the robot_pose_ekf package only cares about the orientation in the IMU message, not the accelerations or angular velocities. Can't say exactly what the Turtlebot setup uses though...