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

RGBDSLAM Cannot produce Octomap

asked 2013-01-23 16:31:57 -0500

Merdad gravatar image

updated 2016-10-24 09:01:15 -0500

ngrennan gravatar image


I got RGBDSLAM working on my Ubuntu 12.04 machine. I am using ROS Fuerte and Xbox Kinect. I can save the map as .pcl and .ply, but I can't get any octomap. When I press "send model" in RGBDSLAM and save a map using octomap_saver and try to view it using octovis it only shows an empty cube (which means no map).

I used rostopic echo /rgbdslam/batch_clouds while running RGBDSLAM but nothing is being published on that topic! I checked the settings in RGBDSLAM and individual_cloud_out_topic and it is set to the right topic (which is /rgbdslam/batch_clouds).

What could be preventing the data from being published on that topic? Any thoughts on how I can generate an octomap?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-27 21:40:33 -0500

Maybe you disabled "store_pointclouds" in your launch-file? It is on by default.

edit flag offensive delete link more


I removed a few lines in the launch file including that and it worked. Thanks.

Merdad gravatar image Merdad  ( 2013-01-28 07:34:11 -0500 )edit

Hi Medrad can I see your launch file? I also cannot see any output when I use typed the command rostopic echo /rgbdslam/batch_clouds. There is also no topic published from the rgbdslam node in the rxgraph. By the way is it the kinect+rgbdslam.launch file?

VicL gravatar image VicL  ( 2013-05-07 04:25:16 -0500 )edit

batch_clouds is only published on command, i.e. from the GUI menu or ros service call. If you want to use/visualize the aligned clouds as they are processed, subscribe to the pointcloud from openni_launch and transform them to the tf frame /map that is published by rgbdslam.

Felix Endres gravatar image Felix Endres  ( 2013-05-13 11:28:30 -0500 )edit

I see! after pressing Ctrl+M or clicking on "send model" under "Data", values starts to show up under rostopic echo /rgbdslam/batch_clouds. Thanks Felix! Where should I look at if I want to automate this proces based on a variable that I will publish from my own program that will run simultaneously?

VicL gravatar image VicL  ( 2013-05-14 18:38:02 -0500 )edit

In your own program call the ros service "/rgbdslam/ros_ui" with command "send_all". See the ros wiki tutorials for how to call services.

Felix Endres gravatar image Felix Endres  ( 2013-05-16 09:11:58 -0500 )edit

Question Tools

1 follower


Asked: 2013-01-23 16:31:57 -0500

Seen: 768 times

Last updated: Jan 27 '13