ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Do subscribers work on a FIFO queue?

asked 2011-07-08 17:50:41 -0600

Julius gravatar image

Do the queues used in ros::Subscriber behave like FIFO queues?

In particular, if I use a message_filters::Synchronizer that, in approximately equal time increments, invokes a callback function for a subscribed topic with queue size 1000. Will the queue items (passed to the callback) be processed in FIFO order?

edit retag flag offensive close merge delete


Empirical evidence says: yes
Julius gravatar image Julius  ( 2011-07-09 07:30:03 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-07-09 07:59:12 -0600

tfoote gravatar image

Yes they are FIFO on order of receipt. The closed documentation I'm aware of is in the roscpp overview

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-07-08 17:50:41 -0600

Seen: 941 times

Last updated: Jul 09 '11