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

Unable to install urdf_tutorial on Indigo

asked 2015-04-26 13:57:34 -0500

Cerin gravatar image

updated 2015-04-26 14:04:11 -0500

I'm attempting to follow the urdf_tutorial tutorial, but none of the packages it uses seem to be available in Indigo, even though the tutorial is tagged as Indigo. e.g. Trying to run any rosdep install command like:

rosdep install joint_state_publisher

just results in the error:

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource joint_state_publisher
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/user/git/myrobot/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks

The tutorial is marked as compatible with Indigo. Is this classification incorrect? Why do none of the rosdep install commands work?

Edit: This looks like a major bug in rosdep. If I understand it's function correctly, it's supposed to be a wrapper around the underlying OS's package manager. So running rosdep install urdf-tutorial should have run sudo apt-get install ros-indigo-urdf-tutorial.

If I manually install ros-indigo-urdf-tutorial with apt-get, and then re-run rosdep, it reports everything is installed. So then what's the point of rosdep if I have to manually run apt-get to install everything? Should I uninstall rosdep and just rely on apt-get instead?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-26 14:20:47 -0500

tfoote gravatar image

rosdep is designed to install system dependencies for a source workspace. If you have a checkout of N packages in your source space, rosdep the tool will help you resolve and install the system dependencies.

If you've installed from apt, all your dependencies should already be resolved.

Please read through rosdep's documentation to find out more.

edit flag offensive delete link more

Comments

Note those rosdep commands were incorrectly added to the tutorial by a user trying to be helpful. I've removed them.

tfoote gravatar image tfoote  ( 2015-04-26 14:26:26 -0500 )edit

So then I should ingore all references to rosdep and manually install the appropriate ros-indigo-* packages manually? I followed the Indigo install instructions, yet most packages referred to in the tutorials don't seem to have been installed.

Cerin gravatar image Cerin  ( 2015-04-26 16:57:46 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2015-04-26 13:57:34 -0500

Seen: 2,120 times

Last updated: Apr 26 '15