Hi, you can check some examples in the image_transport plugin, or our message_transport package: <div><a href="https://github.com/ethz-asl/ros-message-transport">https://github.com/ethz-asl/ros-message-transport</a><br></div>
<div>which is using the same code base: see compressed and theora transports.<br></div><div><br></div><div>Hope that helps...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 6:04 PM, Oier Mees <span dir="ltr"><<a href="mailto:oier.mees@gmail.com" target="_blank">oier.mees@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>I am trying to migrate code to groovy and have problems with CvBridge.<br>Since the tutorials for CvBridge[0] haven't been updated to groovy, I don't know if the API has changed. Could anyone tell me if CvBridge works now differently?<br>


<br>The offending code is this one:<br><br>void imageDepth_callback(const sensor_msgs::ImageConstPtr& msg)<br>{<br>    sensor_msgs::CvBridge bridge;<br>    IplImage *aux=NULL;<br>    aux = bridge.imgMsgToCv(msg, msg->encoding.c_str());<br>


    cvCopy(aux, PointCloud_image);   <br>}<br>The error message is:<br>error: ‘CvBridge’ is not a member of ‘sensor_msgs’<br><br>Regards,<br>Oier<br><br>[0] <a href="http://www.ros.org/wiki/cv_bridge/Tutorials/UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages" target="_blank">http://www.ros.org/wiki/cv_bridge/Tutorials/UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages</a><br>


<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cedric Pradalier<br>
</div>