cv_bridge with rosjava

asked 2016-06-03 06:52:09 -0500

PerceptualRobots gravatar image

I am somewhat confused how I can use cv_bridge with a rosjava node.

I see that there is code around to convert a ros image (sensor_msgs.Image) to an OpenCV image,

CvImage cvImage = CvImage.toCvCopy(message);

but I get errors for this and the import,

import cv_bridge.CvImage;

I have tried to add this dependency in package.xml


But it doesn't help.

Is there something I need in the build.gradle file?

This is on Ubuntu 14.04, Netbeans *.1 with gradle.

edit retag flag offensive close merge delete