ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here would be my idea for a rather simple approach: write a node which:

  • takes as input the number of images it should save
  • everytime it's launched, records the number of requested images, saves them, and terminates again.
  • you thus would need to launch every time you want to capture one or several images

Of course you could then start to make the node more sophisticated, and for example use a rosservice to trigger the capturing of one or several images, which would eliminate the need to terminate the node. But actually I would say every time sending a rosservice request is just as much "work" as starting the node everytime you want to record the images.