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

How to save camera image when needed?

$
0
0
I am currently following this [tutorial](http://gazebosim.org/tutorials?tut=ros_gzplugins#Camera) to publish image messages using the camera plugin. I can totally subscribe the image_raw topic and save every published image message, but that's not what I need. I am using gazebo to collect image dataset of object manipulation. So ideally I need to capture (save to file) one image after some manipulation actions, then continue with the next round of manipulation and image capturing. So it is like a service request to save the image when needed rather than save images all the time. However, the only source of image I know in gazebo is the image topic. Does anyone have a better idea on how to do that? Thanks!

Viewing all articles
Browse latest Browse all 1516

Latest Images

Trending Articles



Latest Images

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