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

Missing resource tf

asked 2012-11-01 16:19:30 -0500

Twenty gravatar image

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

ngrennan gravatar image

I'm trying to install RGB-D SLAM on Ubuntu 12.04 as per these instructions http://www.ros.org/wiki/rgbdslam#RGB-D_SLAM_for_Non-ROS_Users

However, when I get to the

rosdep install rgbdslam_freiburg

part, I receive this error:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rgbdslam: Missing resource tf
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/paul/ros
ROS path [2]=/home/paul/ros

I know that the package tf is here http://ros.org/wiki/tf but I don't know how to install it.

How do I go about installing this package?

edit retag flag offensive close merge delete

Comments

I believe it is in the full desktop install of ROS. Is this how you installed ROS? For me tf is located at /opt/ros/fuerte/stacks/geometry/tf, I would check if that is the case for you. If it is, add /opt/ros/fuerte/stacks to your package path and rosdep should be able to find it

P.Naughton gravatar image P.Naughton  ( 2012-11-02 06:55:25 -0500 )edit

Oh yeah, I can find tf under /opt/ros/fuerte/stacks/geometry/tf, but how do I go about adding it to the package path?

Twenty gravatar image Twenty  ( 2012-11-04 06:45:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-11-04 11:29:52 -0500

Twenty gravatar image

I figured it out! I used:

export ROS_PACKAGE_PATH=/home/paul/ros:/opt/ros/fuerte/share/:/opt/ros/fuerte/stacks/
edit flag offensive delete link more

Comments

1

Managing ROS_PACKAGE_PATH manually is not recommended. You should instead use rosws. Have a look at this page.

Lorenz gravatar image Lorenz  ( 2012-11-04 21:24:56 -0500 )edit

At the very least, you should only add to ROS_PACKAGE_PATH and source /opt/ros/fuerte/setup.bash first.

dornhege gravatar image dornhege  ( 2012-11-04 22:24:21 -0500 )edit

You probably skipped the step ". ~/.bashrc" in the manual.

Felix Endres gravatar image Felix Endres  ( 2012-11-06 01:18:13 -0500 )edit

Question Tools

Stats

Asked: 2012-11-01 16:19:30 -0500

Seen: 1,756 times

Last updated: Nov 04 '12