ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Does roscpp/Overview/Callbacks and Spinning not answer your question(s)?
2 | No.2 Revision |
Does roscpp/Overview/Callbacks and Spinning not answer your question(s)?
I could implement my own child class from ros::Spinner that could process my service calls asynchronously and all other messages synchronously, but that sounds like overengineering for such a primitive system.
Multithreaded or asynchronous spinning should do what you are after.