ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Do subscribers work on a FIFO queue?

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

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

Comments

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

1 Answer

Sort by ยป oldest newest most voted
3

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

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

Question Tools

1 follower

Stats

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

Seen: 1,051 times

Last updated: Jul 09 '11