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

Depend on OpenCV in Hydro

asked 2014-06-16 23:03:51 -0500

130s gravatar image

updated 2014-06-17 09:12:01 -0500

With this commit in rosdep key that, now from Hydro there are at least 2 ROS ways to depend on OpenCV; via ROS 3rd package "[OpenCV2]" or Ubuntu system dependency libopencv-dev.

Should we update the all package.xml in Hydro that depend on OpenCV2 to replace with libopencv-dev?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-06-17 09:11:26 -0500

130s gravatar image

I guess it was just answered well on Indigo Migration wiki.

The OpenCV packages are not built in the ROS ecosystem anymore, they rely on upstream packages. The rosdep keys are now: `libopencv-dev` and `python-opencv`

If your package supports Hydro and Indigo on one common branch, you want to depend on a common key that will pull in the right OpenCV for you (the ROS package on Hydro and the distribution package on Indigo). Hence, just depend on` cv_bridge` (which will also pull in `rosconsole` and `sensor_msgs)` or `image_geometry` (which will only pull in `sensor_msgs` but is harder to understand as a dependency, purpose-wise).
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-16 23:03:51 -0500

Seen: 494 times

Last updated: Jun 17 '14