Ask Your Question

Revision history [back]

ros::getGlobalCallbackQueue()->isEmpty() is true, then the queue appears to be empty.

  • http://wiki.ros.org/roscpp/Overview/Callbacks%20and%20Spinning#Single-threaded_Spinning
    • From the spin() method, we can see that we can get the queue with ros::getGlobalCallbackQueue().
  • http://docs.ros.org/en/diamondback/api/roscpp/html/classros_1_1CallbackQueue.html#a750d7e58bdacab3041913c0929a44142
    • Queue class document