How does rosbag player works with --rate-control-topic?

asked 2018-04-10 10:27:40 -0600

Toothless gravatar image

updated 2018-04-10 12:14:27 -0600

jayess gravatar image

Hello everyone,

I would like to know how the player behaves when its run with --rate-control-topic option in the following scenario:

  • When the bag file has multiple topics, but the target node subscribes to only topic from the bag file and published one topic(rate-control-topic).

My experiments shows that it gets stuck. I think, the reason behind this behavior is that players waits for the response from the node after publishing any message ( which might not be the desired input for the node) and waits for the rate control topic. However, if the node does not get the desired input and it won't produce the rate control topic. And, it results in a deadlock.

If my understanding is wrong then please share your knowledge with me. And, it would be great if If someone has already solved this problem.

Thank you very much!

edit retag flag offensive close merge delete