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

A service is better suited for this indeed. Perhaps you can also set a variable after the first time the callback is called that prevents executing of the other callback code.

A service is better suited for this indeed. indeed but than you probably have to create a subscriber node which advertises this service. Perhaps you can also set a variable after the first time the callback is called that prevents executing of the other callback code.