<div class="gmail_quote">On Mon, May 2, 2011 at 1:10 AM, Christian Verbeek <span dir="ltr"><<a href="mailto:verbeek@servicerobotics.eu">verbeek@servicerobotics.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<br>
<br>
I am missing message when subscribing to /rosout<br>
<br>
_log_sub = _node.subscribe( "/rosout", 100, &ROSHandler::logCallback,<br>
this );<br>
<br>
I do call ros::spinOnce() approximately every 20ms. When I call spinOnce<br>
as fast as possible (in a loop) then no messages are lost. But then my<br>
app needs 60% of the CPU so that is not really desirable.<br>
<br></blockquote><div><br></div><div>If messages are coming in at > 50Hz, one would expect to drop messages here, once the buffer of 100 fills up.  No?  Just trying to establish if there is a bug here or not.   I suppose a way to check the size of the incoming queue would be nice... there is a ticket on this already.</div>
<div><br></div><div>Troy</div><div><br></div><div><br></div><div><br></div><div> </div></div>