capture images periodically from ar drone 2.0

asked 2017-05-07 19:36:47 -0500

hakimROS gravatar image

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

edit retag flag offensive close merge delete


You could do this without any programming using topic_tools/throttle (set msgs_per_sec to 0.1) and image_saver.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-08 02:57:08 -0500 )edit

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 ?

hakimROS gravatar image hakimROS  ( 2017-05-13 15:39:21 -0500 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2017-05-14 07:50:50 -0500 )edit