roscpp: requesting current queue state of subscriber
I have a node, where I would like a subscriber to have a high queue size during initialization of some internal processors (during which my node intentionally lacks calling into ros spinner) to avoid loss of messages in this time but (safely) low queue size when the processor is active, to keep the responsiveness of the processor high.
Is it possible to change the queue size of a subscriber on the fly? Also, can I check how many messages are currently in the queue of a subscriber? I have not found any info on that in the API docu, but maybe someone has an undocumented workaround?