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

RGBDSLAM evalution run have error [closed]

asked 2012-08-02 04:47:40 -0600

pig's head gravatar image

updated 2014-01-28 17:13:13 -0600

ngrennan gravatar image

I follow this tutorial:[]and have many errors.

Ros:electric,OS:ubuntu 11.10

As his said:

The bagfiles need to be downloaded separately. Execute the following script to do so (Warning: Downloads several gigabytes):

rosrun rgbdslam

and I download about 5G data,but it is .tgz filetype,and not .bag filetype. so,the next command is invalid:

for file in ~/ros/rgbdslam/rgbd_benchmark/benchmark_data/*bag; do
  echo $file;
  rosbag decompress $file;

I have no .bag file to decompress.

But when I follow this:

The following commands will checkout the packages required for generation of colored octomaps and compile the octomapping stack.

svn co ~/ros/octomap_mapping_color
svn co ~/ros/motion_planning_common
rosmake motion_planning_common
rosmake --rosdep-install octomap_mapping_color

I find rosmake motion_planning_common will error:"error: undefined function ROS_ASSERT",so I add a #include<ros assert.h=""> in the .cpp file.another error about:"ROS::Message",I add a #include<ros message.h=""> and modify message.h file.

and when 'rosmake --rosdep-install octomap_mapping_color' error,I have this error:

 [rosbuild] Downloading to build/octomap.tar.gz...Traceback (most recent call last):
    File "/opt/ros/electric/ros/core/rosbuild/bin/", line 56, in <module>
    File "/opt/ros/electric/ros/core/rosbuild/bin/", line 28, in main
      urllib.urlretrieve(uri, dest)
    File "/usr/lib/python2.7/", line 91, in urlretrieve
      return _urlopener.retrieve(url, filename, reporthook, data)
    File "/usr/lib/python2.7/", line 237, in retrieve
      fp =, data)
    File "/usr/lib/python2.7/", line 205, in open
      return getattr(self, name)(url)
    File "/usr/lib/python2.7/", line 342, in open_http
    File "/usr/lib/python2.7/", line 951, in endheaders
    File "/usr/lib/python2.7/", line 811, in _send_output
    File "/usr/lib/python2.7/", line 773, in send
    File "/usr/lib/python2.7/", line 754, in connect
      self.timeout, self.source_address)
    File "/usr/lib/python2.7/", line 571, in create_connection
      raise err
  IOError: [Errno socket error] [Errno 111] Connection refused

I find it connect an abandon website: ,so I build a octomap.tar.gz from another package(octomap_electric) and put it into octomap/build.

Then have a error like this:"ros/octomap_mapping_color/octomap_ros/src/conversions.cpp:45:114 "should not to use 'inline' I delete 'inline' in .cpp

Final error is:"/ros/octomap_mapping_color/octomap_server/src/ColorOctomapServer.cpp:39:24: error:‘class octomap::ColorOcTree’ don't have 'writeConst' member".I look at ColorOcTree.h ,there are no a 'writeConst' function!

This error comes from the file "octomap_mapping_color/octomap_server/src/ColorOctomapServer.cpp". The truth is the new octomap has changed this function's name to be "writeDataConst ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-08-27 17:39:31


I have exactly the same problem. thanks for posting this question.

Sudhan gravatar image Sudhan  ( 2012-08-02 21:58:39 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2012-09-04 23:26:24 -0600

yigit gravatar image

I am facing the same problem.

For the first part, I checked the output of the script and found out that it couldn't download some of the urls(download_benchmark_data.urls). That's why I downloaded them(bag and groundtruth files) manually through this page

For the second part of the problem, +1. Does anyone have a solution to that refused connection error?

edit flag offensive delete link more

Question Tools



Asked: 2012-08-02 04:47:40 -0600

Seen: 416 times

Last updated: Sep 04 '12