<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Actually I am doing ROS_INFO_STREAM in one node three times. With
    rostopic echo /rosout_agg I see all three messages. With my
    subscriber I only see the last message, when calling spinOnce not
    fast enough. So this can not be an issue of the queue filling up.<br>
    <br>
    Christian<br>
    <br>
    Am 04.05.2011 20:06, schrieb Troy Straszheim:
    <blockquote
      cite="mid:BANLkTinQ4KzvsdEprTP5ZEtD3kdMaezmiw@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">On Mon, May 2, 2011 at 1:10 AM, Christian
        Verbeek <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:verbeek@servicerobotics.eu">verbeek@servicerobotics.eu</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ros-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>
<a class="moz-txt-link-freetext" href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>