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

How to convert a sequence of registered RGB and depth images into a ROSBAG?

asked 2017-02-17 11:24:36 -0500

davnov134 gravatar image

Hi,

I would like to use the rgbdslam_v2 package http://felixendres.github.io/rgbdslam... on my own RGB-D data.

My RGB-D data is supplied as a a pair of image sequences, one consisting of depth images and the other one containing the corresponding registered rgb data.

Does anybody please know how to convert this pair of image streams into a rosbag file that could be subsequently used by rgbdslam_v2? The depth camera intrinsics are known ...

Thanks a lot David

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-02-18 04:46:00 -0500

NEngelhard gravatar image

rosbag offers APIs for C++ and Python: rosbag API which makes it really easy to put your messages into a bag file.

edit flag offensive delete link more

Comments

@davnov134: take a look at #q233042 as well. Perhaps the script that @Martin Günther wrote can help / provide some inspiration.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-18 05:01:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-17 11:24:36 -0500

Seen: 856 times

Last updated: Feb 18 '17