ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

satisfying package dependencies

asked 2011-05-03 07:40:27 -0500

mkillpack gravatar image

I have package that depends on the willow garage pr2_cockpit package. Is there a way to inform a user that this dependency exists if the package is not already installed (besides looking through the output of rosmake or the package manifest file and checking manually)? I tried adding "ros-diamondback-pr2-cockpit" as an external dependency in the manifest file. However, rosdep install for my package failed with the following error:

rosdep install <package_name> Failed to find rosdep ros-diamondback-pr2-cockpit for package <package_name> on OS:ubuntu version:10.04 ERROR: ABORTING: Rosdeps [u'ros-diamondback-pr2-cockpit'] could not be resolved

Any suggestions of a structured way to install external ros packages would be nice. Is rosinstall the only other option?

Thanks for any help.

marc

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2011-05-03 10:21:55 -0500

tfoote gravatar image

At the moment installation instructions usually consist of

  1. install the following debian packages: ros-diamondback-foo ros-diamondback-bar
  2. install this rosinstall file http://example.com/example.rosinstall

In general ros packages are not designed to be installed via rosdep. Though it does work. There are some tools in development to facilitate the installation of larger systems. However the above system so far works in most cases.

edit flag offensive delete link more

Comments

The link seems broken now

Benoit Larochelle gravatar imageBenoit Larochelle ( 2013-01-20 21:13:05 -0500 )edit
1

answered 2011-05-03 20:42:21 -0500

When adding an external dependency, you also have to supply a rosdep.yaml file which maps your dependency name to a debian/ubuntu/whatever package. That's why you get the error message. However, as Tully said, it's not a good idea to try and install ROS packages via rosdep.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-05-03 07:40:27 -0500

Seen: 531 times

Last updated: May 03 '11