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

Can it be detected when messages are dropped from publishing and subscriber queues

asked 2016-09-12 16:34:10 -0600

chukcha2 gravatar image

According to ROS Documentation Publisher and Subscriber queue_size argument controls the queue message size for publishers and subscribers. It also says that if a queue gets fulls, oldest messages will be dropped. Is there a way to find out when messages are dropped? Is there a way to know how full are the queues are?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-12 23:39:07 -0600

ahendrix gravatar image

The publish and subscribe queues are both per-subscriber.

The topics page describes the Topic Statistics feature which measures topic frequency, bandwidth and dropped messages, and from the message definition it looks like those statistics are per-connection. I haven't used these myself, but you should be able to view the topic statistics in rqt_graph

You may also want to read the paper that was written when the topic statistics feature was added.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-09-12 16:34:10 -0600

Seen: 1,244 times

Last updated: Sep 12 '16