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

Rgbdslam in ros hydro

asked 2013-10-15 06:06:52 -0500

Tirjen gravatar image

updated 2014-01-28 17:18:14 -0500

ngrennan gravatar image

Hello,

I'm trying to use the rgbdslam package in ROS Hydro (on Ubuntu 12.04), but I'm experiencing some difficulties. First of all I had to install the arm_navigation stack and the octomap_server (I used the hydro-devel catkin version for this one), and I managed to do it. Now the problem is in the rgbdslam package. After following those instructions for groovy:

http://answers.ros.org/question/74899/rosmake-rgbdslam_freiburg-error-in-groovy/ (can't post the right link due to lack of karma),

I'm now trying to build it with rosbuild, but for now it gives me the error:

octomap_ros/OctomapROS.h: No such file or directory

I've seen that this file has been removed in Hydro. Moreover I suppose I will have to change something for the usage of point cloud library, since in hydro has changed very much. Can someone help me to use the rgbdslam in hydro? Thank you!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2013-10-22 20:46:09 -0500

Tirjen gravatar image

updated 2013-10-22 20:48:53 -0500

I managed to resolve the problem. The easier way is to add the header file OctomapROS.h in the folder /opt/ros/hydro/include/octomap_ros/. In such a way though it is a deprecated file the rgbdslam can find what it needs. For the pcl library I used the pcl_conversions to convert all headers of point cloud (where needed) from pcl type to ros msg and vice versa, as explained in the hydro migration page. Now the rgbdslam works fine!

EDIT: can someone mark this answer as correct? (I can't due to lack of karma)

edit flag offensive delete link more

Comments

Just keep in mind that the header OctomapROS.h was already deprecated for groovy and is gone for good since hydro. The cleanest solution would be to fix RGBD-Slam such that it's no longer including it.

AHornung gravatar image AHornung  ( 2013-10-22 22:11:43 -0500 )edit

@Tirjen Could you maybe upload your new source files? Cause it is a never ending task to change the codes line by line. You can send me per mail or share it here with everyone, maybe ;) Mail: patrick dot wiesen at gmail dot com

RodBelaFarin gravatar image RodBelaFarin  ( 2013-12-02 08:34:45 -0500 )edit

Unfortunately I cannot do that because I'm not using anymore the pc on which I installed the rgbdslam. If I will have access again to that pc I will do it! Anyway I assure you that doing it by yourself is a 10-minutes work! ;)

Tirjen gravatar image Tirjen  ( 2013-12-15 21:39:35 -0500 )edit
1

As Jiangtao says, the problem could be related to the topics you are listening to. Did you check it?

Tirjen gravatar image Tirjen  ( 2014-03-09 22:51:01 -0500 )edit

Having the same problem as @lguodongustc. any idea what ros topics should be listened? It gives me this warning: WARNING: [/home/tsc/catkin_ws_hydro/src/rgbdslam_freiburg/rgbdslam/launch/kinect+rgbdslam.launch] unknown <node> attribute 'no-launch-prefix'

TSC gravatar image TSC  ( 2014-03-26 08:48:26 -0500 )edit

@TSC@lguodongustc What kind of workspace do you install the RGBDSLAM package, catkin or rosbuild? Also, do you install arm_navigation stack and the octomap_server? It says that they are deprecated in Groovy and Hydro.

pinocchio gravatar image pinocchio  ( 2014-03-26 15:40:08 -0500 )edit
0

answered 2014-03-08 15:19:39 -0500

lguodongustc gravatar image

updated 2014-03-08 15:20:30 -0500

@Tirjen I resolved the compiler errors like what you said in ROS hydro, but when I executed rgbdslam, the GUI always show "waiting for monochrome image"/ "waiting for depth image" / "waiting for motion information". Did you encounter the similar problem or could you please tell me how to handle this? Thanks a lot

edit flag offensive delete link more

Comments

sorry for forgetting to reply, it did related to the topics. now there are a new package by Felix Endres named RGBDSLAMv2 (Hydro Version)

lguodongustc gravatar image lguodongustc  ( 2014-05-15 16:06:38 -0500 )edit
-1

answered 2014-03-09 18:12:36 -0500

the problem of waiting for monochrome image"/ "waiting for depth image" / "waiting for motion information" should be you don't have it listen to right ros topic. Change the ros topics in rgbdslam.launch file.

edit flag offensive delete link more

Question Tools

5 followers

Stats

Asked: 2013-10-15 06:06:52 -0500

Seen: 2,595 times

Last updated: Mar 09 '14