[ros-users] Is posible use sensor_msgs::Image in message?

Jose Luis Blanco joseluisblancoc at gmail.com
Mon May 11 17:57:21 UTC 2015


Hi David,

Please, for this kind of questions, head to http://answers.ros.org

Saludos.
-----
Escrito desde Zapatófono, disculpe la brevedad.
El 11/05/2015 18:36, "David Salinas via ros-users" <ros-users at lists.ros.org>
escribió:

> Hello,
>
> I have a question. At now i used to get a ROI from an image and i sent it
> as cv_bridge::CvImage to other node by a topic (sensor_msgs::Image). But
> now i want to embed this image in a message data as a sensor_msgs::Image
> and it fails when it's compiling.
>
> Before this modification i used to push to topic as this:
>
> img_roi_pub.publish(out_msg.toImageMsg());
>
>
> The message that i want to use is this:
>
> string node_id
> sensor_msgs/Image image
> geometry_msgs/Point centroid
> string qr_traduction
> geometry_msgs/Twist cmd
> bool detected
>
>
> Is it posible  to define a sensor_msgs::Image in a message?
>
> Thank you and i'm sorry my english mistakes.
>
> David.
>
> _______________________________________________
> ros-users mailing list
> ros-users at lists.ros.org
> http://lists.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20150511/73d814e6/attachment.html>


More information about the ros-users mailing list