vrep_plugin dependency with OpenCV on Ros kinetic

Report crashes, strange behaviour, or apparent bugs
Post Reply
basti35
Posts: 5
Joined: 08 Aug 2016, 10:21

vrep_plugin dependency with OpenCV on Ros kinetic

Post by basti35 »

Hello,
I had a problem compiling vrep_plugin package in Ubuntu 16.04.

I have installed ros-kinetic-desktop, ros-kinetic-perception.
From kinetic, ros-kinetic-perception doesn't require libopencv-dev (see https://github.com/ros-perception/visio ... issues/120). Instead, it requires only the package opencv3, that comes with Ros (ros-kinetic-opencv3). Thus the requirement of vrep_plugin to dependency of libopencv-dev is not satisfied out of the box, and it would be a different version 2.4.x, instead of 3.x.
I see that vrep_plugin declares cv-bridge as its dependency, and cv-bridge has opencv3 (the kinetic package) as a dependency.

What I propose is to replace libopencv-dev as a dependency of vrep_plugin with cv_bridge (as suggested here: http://wiki.ros.org/opencv3#package.xml). Therefore OpenCV will come through it, and should be working without any problem in every Ros distribution.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: vrep_plugin dependency with OpenCV on Ros kinetic

Post by coppelia »

Thanks again Nicola!

If possible, try to use the new RosInterface instead, which is much more powerful than the old RosPlugin.

Cheers

Post Reply