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

How to use the IMU raw data, rostopic echo imu

asked 2012-11-27 20:27:58 -0500

Astronaut gravatar image

Hello

I have one question regarding using the raw IMU data. Im using a sensor package with laser range finder, IMU and camera. My bag file consists of scans, imu data and images. I would like to know how to use the imu data to calculate the position and angular velocity of the robot. This is the output of the rostopic echo /imu/data

For example

header: 
  seq: 24237
  stamp: 
    secs: 1301628270
    nsecs: 972690349
  frame_id: /base_imu
orientation: 
  x: -0.628151834011
  y: 0.0210457909852
  z: -0.0200814530253
  w: -0.777546823025
orientation_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
angular_velocity: 
  x: -0.00680741108954
  y: -0.00184269389138
  z: -0.00491618132219
angular_velocity_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
linear_acceleration: 
  x: -0.43050968647
  y: 0.00864356849343
  z: 9.79496383667
line.........

Any help??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-11-27 23:59:18 -0500

Kevin gravatar image

Take a look at the navigation stack. There is lots of information and tools to use to calculate robot position, generate maps, and navigate.

Also take a look at the robot_pose_ekf which fuses IMU data, odometry, and video odometry to calculate position.

In addition, viso2 is a good package to produce video odometry from your camera images.

edit flag offensive delete link more

Comments

Sorry but I did not found in the navigation stack any info for IMU. Any help???

Astronaut gravatar image Astronaut  ( 2012-11-28 17:38:48 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2012-11-27 20:27:58 -0500

Seen: 3,760 times

Last updated: Nov 27 '12