Robotics StackExchange | Archived questions

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 imageview imageview 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

Asked by hakimROS on 2017-05-07 19:36:47 UTC

Comments

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

Asked by gvdhoorn on 2017-05-08 02:57:08 UTC

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 ?

Asked by hakimROS on 2017-05-13 15:39:21 UTC

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.

Asked by gvdhoorn on 2017-05-14 07:50:50 UTC

Answers