<div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>Before this modification i used to push to topic as this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>img_roi_pub.publish(out_msg.toImageMsg());</div></blockquote><div><br></div><div>The message that i want to use is this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>string node_id</div></div><div><div>sensor_msgs/Image image</div></div><div><div>geometry_msgs/Point centroid</div></div><div><div>string qr_traduction</div></div><div><div>geometry_msgs/Twist cmd</div></div><div><div>bool detected</div></div></blockquote><div><br></div><div>Is it posible  to define a sensor_msgs::Image in a message?</div><div><br></div><div>Thank you and i'm sorry my english mistakes.</div><div><br></div><div>David.</div></div>