[ros-users] topic queue
kwc at willowgarage.com
Mon May 2 15:41:24 UTC 2011
I don't have much to contribute to the roscpp issue, but I will note
that it is preferable to subscribe to rosout_agg rather than rosout.
The former provides the aggregated messages from a single publisher
(the rosout node).
On Mon, May 2, 2011 at 1:10 AM, Christian Verbeek
<verbeek at servicerobotics.eu> wrote:
> Dear all,
> I am missing message when subscribing to /rosout
> _log_sub = _node.subscribe( "/rosout", 100, &ROSHandler::logCallback,
> this );
> 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.
> Any ideas?
> Regards Christian
> ros-users mailing list
> ros-users at code.ros.org
More information about the ros-users