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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: David Salinas
Dato:  
Til: ros-users
Emne: [ros-users] Is posible use sensor_msgs::Image in message?
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

http://lists.ros.org/mailman/listinfo/ros-users