Ask Your Question
0

Kinect rgbdslam dependency issue

asked 2012-12-06 18:57:54 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all, After looking through several previous posts on the issue I'm still confused as to where to approach this problem. I'm hoping to add a more comprehensive guide online after I get this all working. I have a kinect with openni drivers, am using fuerte on oneiric, and want to get rgbdslam working. The kinect works as I've seen the depth images in rviz without issue.

What I've done is created a workspace/overlay in a folder within my user directory and downloaded the rgbdslam_freiburg file there. I'm able to find the rgbdslam file within the rgbdslam_freiburg folder with the roscd command, but when inside the rgbdslam directory, rosmake produces the following error:

> rosmake rgbdslam [ rosmake ] rosmake
> starting...                           
> [ rosmake ] Packages requested are:
> ['rgbdslam'] [ rosmake ] Expanded args
> ['rgbdslam'] to: ['rgbdslam']         
> [rosmake-0] Starting >>> bullet [ make
> ]                                     
> [rosmake-1] Starting >>> geometry_msgs
> [ make ]                              
> [rosmake-0] Finished <<< bullet
> ROS_NOBUILD in package bullet         
> [rosmake-0] Starting >>> roslang [
> make ]                                
> [rosmake-2] Starting >>> rosconsole [
> make ]                                
> [rosmake-3] Starting >>> angles [ make
> ]                                     
> [rosmake-1] Finished <<< geometry_msgs
> No Makefile in package geometry_msgs  
> [rosmake-2] Finished <<< rosconsole 
> No Makefile in package rosconsole     
> [rosmake-1] Starting >>> sensor_msgs [
> make ]                                
> [rosmake-0] Finished <<< roslang  No
> Makefile in package roslang           
> [rosmake-2] Starting >>> rostest [
> make ]                                
> [rosmake-0] Starting >>> roscpp [ make
> ]                                     
> [rosmake-3] Finished <<< angles
> ROS_NOBUILD in package angles         
> [rosmake-3] Starting >>> rospy [ make
> ]                                     
> [rosmake-1] Finished <<< sensor_msgs 
> No Makefile in package sensor_msgs    
> [rosmake-1] Starting >>> roswtf [ make
> ]                                     
> [rosmake-2] Finished <<< rostest  No
> Makefile in package rostest           
> [rosmake-2] Starting >>>
> message_filters [ make ]              
> [rosmake-0] Finished <<< roscpp  No
> Makefile in package roscpp            
> [rosmake-0] Starting >>> std_msgs [
> make ]                                
> [rosmake-3] Finished <<< rospy  No
> Makefile in package rospy             
> [rosmake-3] Starting >>> rosbag [ make
> ]                                     
> [rosmake-2] Finished <<<
> message_filters  No Makefile in
> package message_filters [rosmake-1]
> Finished <<< roswtf  No Makefile in
> package roswtf                  
> [rosmake-0] Finished <<< std_msgs  No
> Makefile in package std_msgs          
> [rosmake-0] Starting >>> pcl [ make ] 
> [rosmake-3] Finished <<< rosbag  No
> Makefile in package rosbag            
> [rosmake-2] Starting >>> rosbuild [
> make ]                                
> [rosmake-1] Starting >>> tf [ make ]  
> [rosmake-3] Starting >>> roslib [ make
> ]                                     
> [rosmake-0] Finished <<< pcl  No
> Makefile in package pcl               
> [rosmake-1] Finished <<< tf
> ROS_NOBUILD in package tf             
> [rosmake-2] Finished <<< rosbuild  No
> Makefile in package rosbuild          
> [rosmake-0] Starting >>> smclib [ make
> ]                                     
> [rosmake-2] Starting >>> rosservice [
> make ]                                
> [rosmake-1] Starting >>>
> common_rosdeps [ make ]               
> [rosmake-3] Finished <<< roslib  No
> Makefile in package roslib            
> [rosmake-3] Starting >>> pluginlib [
> make ]                                
> [rosmake-2] Finished <<< rosservice 
> No Makefile in package rosservice     
> [rosmake-0] Finished <<< smclib
> ROS_NOBUILD in package smclib         
> [rosmake-0] Starting >>> bond [ make ]
> [rosmake-1] Finished <<<
> common_rosdeps ROS_NOBUILD in package
> common_rosdeps    [rosmake-2] Starting
> >>> dynamic_reconfigure [ make ]                            [rosmake-1] Starting >>> opencv2 [
> make ]                                
> [rosmake-3] Finished <<< pluginlib
> ROS_NOBUILD in package pluginlib      
> [rosmake-3] Starting >>>
> visualization_msgs [ make ]           
> [rosmake-0] Finished <<< bond
> ROS_NOBUILD in package bond           
> [rosmake-2] Finished <<<
> dynamic_reconfigure ROS_NOBUILD in
> package dynamic_reconfigure
> [rosmake-1] Finished <<< opencv2
> ROS_NOBUILD in package opencv2        
> [rosmake-0] Starting >>> bondcpp [
> make ]                                
> [rosmake-1] Starting >>> cv_bridge [
> make ]                                
> [rosmake-2] Starting >>> rgbdslam [
> make ]                                
> [rosmake-1] Finished <<< cv_bridge
> ROS_NOBUILD in package cv_bridge      
> [rosmake-3] Finished <<<
> visualization_msgs  No Makefile in
> package visualization_msgs [rosmake-0]
> Finished <<< bondcpp ROS_NOBUILD in
> package bondcpp                 
> [rosmake-0] Starting >>> nodelet [
> make ]                                
> [rosmake-0] Finished <<< nodelet
> ROS_NOBUILD in package nodelet        
> [rosmake-0] Starting >>>
> nodelet_topic_tools [ make ]          
> [rosmake-0] Finished <<<
> nodelet_topic_tools ROS_NOBUILD in
> package nodelet_topic_tools
> [rosmake-0] Starting >>> pcl_ros [
> make ]                                
> [rosmake-0] Finished <<< pcl_ros
> ROS_NOBUILD in package pcl_ros        
> [ rosmake ] All 21 linesgbdslam: 0.5
> sec ]           [ 1 Active 30/31
> Complete ]
> {-------------------------------------------------------------------------------   mkdir -p bin ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-12-11 15:12:32 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Ok, found a previous tip on a post that I had omitted. Remember to remove the find_package(g2o REQUIRED) from the CMakeLists.txt in rgbdslam and to add in a line with <depend package="g2o" /> to the rgbdslam manifest.xml file. Now, however, I get an error about a class name being repeated in two places, specifically the HyperGraph class in g2o.

edit flag offensive delete link more

Comments

I am having the same problem as yours. Did you manage to find a solution to this problem?

K_Yousif gravatar image K_Yousif  ( 2012-12-16 13:32:05 -0500 )edit

The hypergraph issue might be a conflict in g2o if you have libg2o installed along with g2o in your ros folder. Go to the ubuntu software center and uninstall libg2o.

autorover gravatar image autorover  ( 2012-12-19 10:46:44 -0500 )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

Stats

Asked: 2012-12-06 18:57:54 -0500

Seen: 563 times

Last updated: Dec 11 '12