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

Does roscpp/Overview/Callbacks and Spinning not answer your question(s)?

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.