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

Revision history [back]

Don't use the -a flag, rosbag will subscribe to all offered topics, even if some are meant as alternatives and might not be used in combination. So, think about what you want to do with the data and only subscribe to the relevant topics. The most commonly used topics are

  • /tf
  • /camera/rgb/image_mono
  • /camera/rgb/image_color
  • /camera/rgb/points
  • /camera/rgb/camera_info
  • /camera/depth/image
  • /camera/depth/points
  • /camera/depth/camera_info

But still you will only need a subset of those.

Don't use the -a flag, rosbag will subscribe to all offered topics, even if some are meant as alternatives and might not be used in combination. So, think about what you want to do with the data and only subscribe to the relevant topics. The most commonly used topics are

  • /tf
  • /camera/rgb/image_mono
  • /camera/rgb/image_color
  • /camera/rgb/points
  • /camera/rgb/camera_info
  • /camera/depth/image
  • /camera/depth/points
  • /camera/depth/camera_info

But still you will only need a subset of those.

Edit: I just stumbled upon this again and want to add, that I recently wrote a small tool to assemble point clouds from (rgb and) depth images. It can be found in our repository. The wiki page will be generated in a few page. Until then have a look into the manifest for usage information.