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

Howto release a package with system dependency ros-indigo-gazebo6-ros?

asked 2016-02-11 10:54:29 -0600

Sabrina gravatar image


I have a ROS package with the run dependency gazebo_ros (specified in package.xml). When I release this package for Indigo the resulting debian package depends on ros-indigo-gazebo-ros.

Is it possible to make debian package depend on ros-indigo-gazebo6-ros?



edit retag flag offensive close merge delete


There are rosdep keys for gazebo and gazebo5, but not for gazebo6 (here). At least those will probably have to be added.

gvdhoorn gravatar image gvdhoorn  ( 2016-02-11 12:02:11 -0600 )edit

Thank you for this information. Can I add the rosdep keys for gazebo6 myself (e. g. with a patch) or is there any official support team I could ask for this feature?

Sabrina gravatar image Sabrina  ( 2016-02-11 15:49:39 -0600 )edit

As a workaround I removed the run_depend gazebo_ros and gazebo_ros_plugins from package.xml. Users will have to install ros-indigo-gazebo6 and ros-indigo-gazebo6-plugins manually to be able to run the launch files.

Sabrina gravatar image Sabrina  ( 2016-03-03 02:21:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-11 16:20:26 -0600

tfoote gravatar image

updated 2016-02-11 16:21:37 -0600

The policy for adding keys to the rosdep database is that the packages need to be available from the ros repository or from the standard upstream sources.

There are rules for gazebo and gazebo5 because they are available in the upstream. When packages land in upstream we can add them to the rosdep database.

Note that your dependency on gazebo_ros does not actually interact with the rosdep database. The gazebo_ros package is a ROS package in the rosdistro, which is why it ends up with ros-indigo- in the prefix.

The gazebo team maintains newer versions of gazebo built into debians such as gazebo 5 and 6. Some details are at:

You can also locally modify your rosdep sources to add new rules for gazebo as mentioned on this question by @jose-luis-rivero : however they cannot be added to the default since they rely on the repository.

edit flag offensive delete link more


The upcoming ROS version Kinetic for Ubuntu Xenial will have Gazebo 7 and will allow you to release against it as a dependency if that helps.

Dirk Thomas gravatar image Dirk Thomas  ( 2016-02-11 17:04:21 -0600 )edit

Question Tools



Asked: 2016-02-11 10:54:29 -0600

Seen: 210 times

Last updated: Feb 11 '16