Ask Your Question
0

RGBDSLAM Cannot produce Octomap

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

Merdad gravatar image

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

ngrennan gravatar image

Hi,

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
4

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

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

edit flag offensive delete link more

Comments

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

Merdad gravatar imageMerdad ( 2013-01-28 07:34:11 -0600 )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 imageVicL ( 2013-05-07 04:25:16 -0600 )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 imageFelix Endres ( 2013-05-13 11:28:30 -0600 )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 imageVicL ( 2013-05-14 18:38:02 -0600 )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 imageFelix Endres ( 2013-05-16 09:11:58 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 663 times

Last updated: Jan 27 '13