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

rgbdslam and octomap

asked 2014-02-09 02:27:57 -0500

Wilk gravatar image

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

ngrennan gravatar image

Hello everyone, I am using ros fuerte on ubuntu 12.04 and have few questions:

  1. Does anyone know how rgbdslam and octomap cooperates?

  2. Is there any possibility to manipulate with map created by rgbdslam?

  3. Is there a possibility to build octomap with octomap_server out of rgbdslam algorithm and visualise it?

  4. Is there possibility to reduce the size of created map? for example to 1-2 meters around robot?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-14 03:05:39 -0500

updated 2014-02-14 03:06:52 -0500


  1. There are two possibilities: (a) Have rgbdslam send out the clouds+tf transformations and let the octomap_server listen or (b) Use the GUI of rgbdslam to save the map as an octomap (no need to run octomap_server)
  2. No. You can manipulate the octomap using octovis - though this functionality is quite limited.
  3. See 1.
  4. You can (a) set the parameter 'maximum_depth" for rgbdslam (though this will also limit the use of faraway visual features during mapping) or (b) set the max_sensor_range parameter for the octomap_server (only affects map rendering)
edit flag offensive delete link more


Do I need an experimental version of octomap- when I save the map with: rosrun octomap_server octomap_saver file.ot I see only a blue cube but if I save it with rgbdslam GUI I can see map. I am working with rosbag files (rgbd_dataset_freiburg2_pioneer_360.bag).

Wilk gravatar image Wilk  ( 2014-02-16 05:50:00 -0500 )edit

The blue cube means no data. So I guess that the data you send from rgbdslam does not arrive at the octomap server.

Felix Endres gravatar image Felix Endres  ( 2014-02-19 04:57:05 -0500 )edit

When i use the GUI to save the octomap it saves as .pcd file. Furthermore, when i try to visualize the point cloud i got an error: No points to read. Like you said, i guess the data sent from rgbdslam did not arrive to octomap server. Do you know how can i fix that ?

Thiagopj gravatar image Thiagopj  ( 2014-12-11 11:42:00 -0500 )edit

I do not have this problem. Can you just try to rename the file to .ot?

Felix Endres gravatar image Felix Endres  ( 2015-01-12 08:27:09 -0500 )edit

Yes, i tried! Using octovis to visualize, the file is empty

Thiagopj gravatar image Thiagopj  ( 2015-01-12 09:04:44 -0500 )edit

To clarify, I meant the file saved from the GUI. What is the file size? Any output on the terminal concerning the saving of the octomap?

Felix Endres gravatar image Felix Endres  ( 2015-01-14 04:07:50 -0500 )edit

Hey Felix!!! Can you expand more on point 1 and yaa I am also getting empty file through GUI. What to do

Dhagash Desai gravatar image Dhagash Desai  ( 2018-02-14 04:28:12 -0500 )edit

Question Tools



Asked: 2014-02-09 02:27:57 -0500

Seen: 635 times

Last updated: Feb 14 '14