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

satisfying package dependencies

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

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 -0600

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 image Benoit Larochelle  ( 2013-01-20 21:13:05 -0600 )edit
1

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

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

Question Tools

1 follower

Stats

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

Seen: 668 times

Last updated: May 03 '11