[ros-users] topic queue
verbeek at servicerobotics.eu
Mon May 2 08:10:10 UTC 2011
I am missing message when subscribing to /rosout
_log_sub = _node.subscribe( "/rosout", 100, &ROSHandler::logCallback,
I do call ros::spinOnce() approximately every 20ms. When I call spinOnce
as fast as possible (in a loop) then no messages are lost. But then my
app needs 60% of the CPU so that is not really desirable.
rostopic echo /rosout
catches all messages.
More information about the ros-users