Documentation Status

Cannot load information on name: rosbag_video, distro: groovy, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: rosbag_video, distro: hydro, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: rosbag_video, distro: indigo, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: rosbag_video, distro: jade, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: rosbag_video, distro: kinetic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: rosbag_video, distro: lunar, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

Goal

Bag files including camera images tend to be very large. To reduce the overall size, this packages converts the camera images in the bag file to videos and removes them from the bag file. The resulting bag file and videos can be converted back to one bag file afterwards.

Approach

sensor_msgs/CameraInfo A bag file including sensor_msgs/CameraInfo, color and depth images, both of type sensor_msgs/Image, wire_msgs/WorldEvidence and tf/tfMessage will be split into a number of video streams and a bag file. One video stream for each of the topics from some image type and a bag file for the remaining topics. In addition the package is able to merge the resulting bag file and videos back into one large bag file again.

Adapting the package to work for your own bag file with different topics can be done by simply adding or removing topics from the code.

Launching the package

Various examples can be found in the tutorials of the wire stack.

Planning

The idea is to extend this package such that it works for a bag file containing an arbitrary number of topics next to the image topics. There is, however, no timeline associated with this idea.

Wiki: rosbag_video (last edited 2013-03-22 09:05:07 by JosElfring)