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

I would say: No.

For the reason that you basically explained yourself: What would one do with the return value?, What is the meaning of that?

I would say: No.

For the reason that you basically explained yourself: What would one do with the return value?, What is the meaning of that?

PS: Maybe, your intended usage of ros::spinOnce is based on a misconception. ros::spinOnce will not call one callback, but all available callbacks at the time. For more information, see: http://www.ros.org/wiki/roscpp/Overview/Callbacks%20and%20Spinning