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

multiple ros release support in rosdep.yaml

asked 2011-10-31 02:15:12 -0600

updated 2011-10-31 02:16:52 -0600

The modular_cloud_matcher package requires yaml-cpp, which is installed in the ros-wide rosdep.yaml in electric but not in diamondback. For the latter, I had put an entry in our rosdep.yaml:

ubuntu: yaml-cpp0.2.6-dev

This entry solves the problem for diamondback, but creates a conflict in electric:

[ rosmake ] rosdep install failed: QUITTING: due to conflicting rosdep definitions, please resolve this conflict.
Rules for yaml-cpp do not match:
{'apt': {'packages': ['yaml-cpp0.2.6-dev']}} [/opt/ros/electric/stacks/common_rosdeps/rosdep.yaml]
yaml-cpp0.2.6-dev [/opt/ros_addons/electric/stacks/ethzasl_mapping/rosdep.yaml]

Is there a way to specify rules specific to different ros releases in rosdep.yaml?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-10-31 03:42:14 -0600

kwc gravatar image

If the rules are identical, then the conflict will not arise. However, rosdep does not process the raw rule, so the rules have to structurally the same (i.e. apt->packages-> yamlcpp0.2.26-dev vs. 'yamlcpp-0.2.6-dev').

There is no way to make the rules distro-specific.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2011-10-31 02:15:12 -0600

Seen: 314 times

Last updated: Oct 31 '11