shiva16 / rtabmap

Automatically exported from code.google.com/p/rtabmap
0 stars 0 forks source link

rosdep librtabmap_utilite not found #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
rosdep install rtabmap

What is the expected output? What do you see instead?

to system dependencies:
rtabmap: Cannot locate rosdep definition for [librtabmap_utilite]

Please provide any additional information below.
Ubuntu 12.04  ROS Hydro. 

I see utilite *.h  is catkin_ws/devel/include/rtabmap_0.7/rtabmap/ 

Original issue reported on code.google.com by Alan.Fed...@gmail.com on 9 Sep 2014 at 4:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You should see catkin_ws/devel/lib/rtabmap-0.7/librtabmap_utilite.so too with 
RTABMapConfig.cmake.

Make sure that you sourced "source ~/catkin_ws/devel/setup.bash" in your 
"~/.bashrc". (http://wiki.ros.org/catkin/Tutorials/create_a_workspace)

Original comment by matla...@gmail.com on 9 Sep 2014 at 3:25

GoogleCodeExporter commented 9 years ago
Both of these are true catkin/devl is sourced, the library is in the proper 
place.
I have updated gcc to 4.8.1, the standalone rtabmap package terminates with a 
illegal instruction message.

catkin_make runs:

Scanning dependencies of target visual_odometry
[100%] Building CXX object 
rtabmap/CMakeFiles/visual_odometry.dir/src/VisualOdometryNode.cpp.o
Linking CXX executable /home/alan/catkin_ws/devel/lib/rtabmap/visual_odometry
[100%] Built target visual_odometry

but still:

alan@alan-rosbase:~/catkin_ws$ rosdep install --from-paths src -i
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rtabmap: Cannot locate rosdep definition for [librtabmap_utilite]

 roslaunch rtabmap rgbd_mapping.launch  - fails at visual odometry.

 roslaunch rtabmap rgbd_mapping_rviz.launch  opens rviz to but no fixed frame map exists.

Original comment by Alan.Fed...@gmail.com on 9 Sep 2014 at 6:45

GoogleCodeExporter commented 9 years ago
Thanks for the rosdep command... I did:
~/catkin_ws$ rosdep install --from-paths src -i
and got this message too:
rtabmap: Cannot locate rosdep definition for [librtabmap_utilite]

rosdep uses https://github.com/ros/rosdistro/tree/master/rosdep files to find 
system libraries. Since RTAB-Map's libraries are not system libraries on 
Ubuntu, rosdep cannot find the definition. It is safe to ignore this error.

For the "the standalone rtabmap package terminates with a illegal instruction 
message", it looks like this previous issue: 
https://code.google.com/p/rtabmap/issues/detail?id=9#c6
The person installed on another computer and it worked.

I have gcc 4.6.3, Ubuntu 12.04 64 bits - ROS Hydro.

Original comment by matla...@gmail.com on 9 Sep 2014 at 7:33

GoogleCodeExporter commented 9 years ago
Thanks/Danke  (I got it to work (well at least compile and run) on 14.04 and 
Indigo on  AMD 64.   Still getting a error on 'map' not being found, but the 
code is good. I guess trying on a different computer works.  I am not sure how 
odometry is being calculated just by walking around the room. Are you getting 
accelerometer data somehow? I believe Google Tango is using a 3-D camera plus 
accelerometer to do real time SLAM.

BTW  I am with a group participating in the Kinect Challenge at IROS in 
Chicago. We are using the RTABMAP package. Are you going to be there?

Original comment by Alan.Fed...@gmail.com on 9 Sep 2014 at 10:37

GoogleCodeExporter commented 9 years ago
When using only the kinect, features are extracted from the RGB image, then 
located in 3D using the Depth image. The camera motion is computed with a 
RANSAC transform estimation between the corresponding 3D features on the 
consecutive frames. For sure, fusing accelerometer data with the visual 
odometry (Visual Inertial Odometry) could increase precision of the camera 
motion. 

And yeah, I'll be at IROS next week!

Original comment by matla...@gmail.com on 10 Sep 2014 at 12:21