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@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@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users