Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I believe you're talking about the queue size parameter in roscpp. From the roscpp overview:

for publishing

queue_size [required]

This is the size of the outgoing message queue. If you are publishing faster than roscpp can send the messages over the wire, roscpp will start dropping old messages. A value of 0 here means an infinite queue, which can be dangerous.

for subscribing

queue_size

This is the incoming message queue size roscpp will use for your callback. If messages are arriving too fast and you are unable to keep up, roscpp will start throwing away messages. A value of 0 here means an infinite queue, which can be dangerous.