Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 118

how can I receive single images from an image_transport stream using a service client

$
0
0
Hello, I try to setup a Service which provides single images out of an image_transport stream to a client requesting an image. I found this Question 42909 (Karma not sufficient to post links, sorry.) which is in principal what I need. answers.ros.org/question/42909/how-can-i-use-a-servicerequest-to-capture-a-single-callback-from-a-subscription/ Since I'm new to ROS and the example is simplified I'm stuck at the point where the image is presented to the client. What I would need to know is: 1) How does the srv file look like to use the example. (If a srv file is needed at all) 2) How can I actually get access to the image on client side to do image processing on it. In the example this part is simplified with the comment: read_grab() ? I searched ROS answers for hours with no success so I hope somebody understands my problem description and is willing to help. thanks in advance HXP2

Viewing all articles
Browse latest Browse all 118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>