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

rgbdslam freiburg hydro

asked 2013-12-15 05:17:10 -0600

Wilk gravatar image

updated 2014-01-28 17:18:50 -0600

ngrennan gravatar image

I am editing my problem and leaving previous versions- I know this post looks very large now but if somebody will have same problem in futer maby he can track down some of my mistakes and use them.

I'm using ubuntu 12.04 ROS hydro medusa

From several days I'm trying to use some how rgbdslam but I get several errors. I tried to do what is written here: http://answers.ros.org/question/91111/rgbdslam-in-ros-hydro/

but after executing: rosdep install rgbdslam_freiburg

I receive this error:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: rgbdslam: Missing resource pcl

ROS path [0]=/opt/ros/hydro/share/ros

ROS path [1]=/home/wilk/catkin_ws/src

ROS path [2]=/opt/ros/hydro/share

ROS path [3]=/opt/ros/hydro/stacks

Does it means that there is no pcl library provided with my ros installation or that I should made conversions from older pcl library as it worked for somebody here: http://answers.ros.org/question/74899/rosmake-rgbdslam_freiburg-error-in-groovy/

I read also this but I don't know if I should also make it: http://www.pcl-users.org/How-do-I-use-PCL-from-ROS-Hydro-td4029613.html

Could any one be as kind to tell me what I should do? or even which commands should I use in terminal. I would also d'like to know if making those conversations will solve the problem, if there is any one who can share it. I really don't like the idea of manually changing code without knowing if it will help.

Edit1: Is it possible to use rosbuild and catkin workspaces simultaniously? Despite trying to use code writen for older version of ROS I'm trying to convert it too catkin_ws too. There are only a few files that need to be changed so I will pase them here. Please help.

I receave fallowing error:

CMake Error at rgbdslam_freiburg/rgbdslam/CMakeLists.txt:240 (add_executable):
  add_executable cannot create target "rgbdslam" because another target with
  the same name already exists.  The existing target is a shared library
  created in source directory
  "/home/wilk/catkin_ws/src/rgbdslam_freiburg/rgbdslam".  See documentation
  for policy CMP0002 for more details.

My files looks like that: CMakeLists.txt

# Catkin User Guide: <a href="http://www.ros.org/doc/groovy/api/catkin/html/user_guide/user_guide.html">http://www.ros.org/doc/groovy/api/catkin/html/user_guide/user_guide.html</a>
# Catkin CMake Standard: <a href="http://www.ros.org/doc/groovy/api/catkin/html/user_guide/standards.html">http://www.ros.org/doc/groovy/api/catkin/html/user_guide/standards.html</a> cmake_minimum_required(VERSION 2.8.3) project(rgbdslam)
# Load catkin and all dependencies required for this package
# TODO: remove all from COMPONENTS that are not catkin packages. find_package(catkin REQUIRED COMPONENTS tf pcl_conversions rospy roscpp rosbag cv_bridge sensor_msgs octomap_server octomap_ros geometry_msgs visualization_msgs eigen)

# include_directories(include ${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})#########################################################
### CONFIG ##############################################
#########################################################
# 1, if SiftGPU should be used. For additional information
# see README set(USE_SIFT_GPU        0) set(ENV{SIFT_GPU_MODE}      2) #CUDA = 1, GLSL = 2 set(ENV{SIFT_GPU_CUDA_PATH}  /usr/local ...
(more)
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
4

answered 2013-12-15 21:59:08 -0600

Tirjen gravatar image

The error you get is because the pcl library in Hydro is standalone and it isn't anymore a ros package. So you have to comment the corresponding line in the manifest

  <!--<depend package="pcl"/>-->

What you should do is to install the pcl library 1.7 and then use the pcl_conversions package of ros to convert Pointcloud2 headers from pcl type to ros msg and vice-versa where needed, as explained here.

edit flag offensive delete link more

Comments

Thanks You for fast response- I will try it in hope in fallowing days

Wilk gravatar image Wilk  ( 2013-12-16 21:30:30 -0600 )edit

I still have some problems: I don't know if I understend it well. I'm using catkin tool instead of rosbuild one but I think it is not an issue. All I need to do is to change headers in rgbdslam? Or I need also to change something in pcl library? Is using script posted here a good idea?: https://github.com/PointCloudLibrary/pcl/pull/110

Wilk gravatar image Wilk  ( 2013-12-29 08:05:06 -0600 )edit
1

answered 2014-02-13 02:36:48 -0600

updated 2014-11-21 08:48:40 -0600

I am currently preparing a version for ROS hydro. It builds on my computer, but hasn't been tested yet anywhere else.

If you are interested in alpha/beta-testing, feel free to send me a message.

Edit: It's now a public beta at my github repository.

edit flag offensive delete link more

Comments

Hi Felix! I would like to try your RGBDSLAM version for Hydro. Thank you!

TSC gravatar image TSC  ( 2014-03-26 09:00:16 -0600 )edit

Hi Felix. I am interested in your hydro and send an email to you. I would like to test your package.

pinocchio gravatar image pinocchio  ( 2014-03-26 15:06:22 -0600 )edit

@TSC, send me an email (see my homepage).

Felix Endres gravatar image Felix Endres  ( 2014-03-28 06:21:06 -0600 )edit

@Felix Endres done! Thanks!

TSC gravatar image TSC  ( 2014-03-28 06:45:02 -0600 )edit

RGBDSLAM is a really great package - Would you consider making some more documentation for it? (tutorials, architecture, overview of different parameters). It has so many features, you should showcase them all!

robotfoot gravatar image robotfoot  ( 2014-04-16 03:58:34 -0600 )edit

Thanks. I lack the time to do that. I am writing rgbdslam in the course of my phd thesis - a task where software documentation and bug-freeness does not directly pay off ;-). And it's tedious to document because it's constant work-in-progress, with new features breaking old ones. Unfortunately I haven't got the resources to make sure all changes I introduce are backwards-compatible as I experiment a lot. The research-relevant features are described in my most recent publication "3D Mapping with an RGB-D Camera".

Felix Endres gravatar image Felix Endres  ( 2014-04-28 06:23:42 -0600 )edit

Hi, Felix, have you completed your version for ROS hydro? I would like to try it. Thank you!

Linbo Jin gravatar image Linbo Jin  ( 2014-08-27 04:05:36 -0600 )edit
1

@Linbo Jin it already have the version for ROS hydro. Click the link: http://felixendres.github.io/rgbdslam...

l_a_den gravatar image l_a_den  ( 2014-08-28 21:16:29 -0600 )edit
0

answered 2014-08-27 04:07:31 -0600

Hi, friend, have you solved your problem? Could you help me for the same problem. Thank you very much.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2013-12-15 05:17:10 -0600

Seen: 4,017 times

Last updated: Nov 21 '14