ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to use bag files with ccny_rgbd

asked 2013-04-02 22:20:50 -0500

sai gravatar image

ubuntu 12.04 and fuerte


I want to run the ccny_rgbd with the tum kinect datasets. I am not sure how exaclty to change the setting in launch files and or other files to make them work.

In both launch files, vo+mapping.launch and visual_odometry.launch, i added

<param name="use_sim_time"  value="true" /> 

<remap from="/rgbd/depth" to="/camera/depth/image" />

<remap from="/rgbd/rgb"   to="/camera/rgb/image" />

<remap from="/rgbd/info"  to="/camera/rgb/camera_info" />

and I play the rosbag file with rosbag play --clock option.

Any suggestions to get this to work

edit retag flag offensive close merge delete


Datasets publish the depth and rgb images on /camera/depth/image and /camera/rgb/image and camera info on /camera/rgb/camera_info. Now the topics are remapped in the correct way?

sai gravatar image sai  ( 2013-04-03 20:19:05 -0500 )edit
astaranowicz gravatar image astaranowicz  ( 2013-04-04 07:25:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-03 15:46:36 -0500

astaranowicz gravatar image

Because ccny_rgbd expects the depth image and rgb image from the Kinect on those certain topics, the remaps allow the topics to be remapped to the new topics. If you want to use datasets, you would need to publish them on your defined topics, then use the remap. Not a good solution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-02 22:20:50 -0500

Seen: 232 times

Last updated: Apr 02 '13