capture images periodically from ar drone 2.0
hello everyone ,
i am working on ardrone 2.0 project and i need a help please i just want to know if there is a way to capture images (not in format bag) periodically (every 10 sec for example ) in real time when running : rosrun image_view image_view image:=/ardrone/front/image_raw ,
i know it's possible when we use left-click on the window which diffuse the camera , but i want to do it automatically and periodically .
help please
You could do this without any programming using topic_tools/throttle (set
msgs_per_sec
to0.1
) and image_saver.thank you a lot , that's help me ! but i have another question : is it possible to send the streaming camera i mean i want to receive the result of command "rosrun image_view image_view image:=/ardrone/front/image_raw" into another laptop ?
This is a new question, so you should open a new question for that. But in general as long as you have ROS networking setup correctly you should be able to do what you want on any networked laptop.