ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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?
2 | No.2 Revision |
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