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

When you want a certain part of your program to execute only once (or when it is called for execution), you can build that piece of code out as a ROS service instead of a ROS node. I would recommend you read up on services if you haven't already. A good place to do so is here.