By default the talker publishes an 8mB message every 3 seconds. I haven't been able to reproduce any message lost callback triggers with such a low frequency. It helps to increase the publishing rate.
This PR
Adds support to pass a -r CLI arg to message_lost_talker to configure the timer's period. Default behavior is still the same 3s period.
Sets sub's reliability QoS to best_effort to increase the probability of dropping a message. -> I can undo this change if needed.
By default the talker publishes an 8mB message every 3 seconds. I haven't been able to reproduce any message lost callback triggers with such a low frequency. It helps to increase the publishing rate. This PR
-r
CLI arg tomessage_lost_talker
to configure the timer's period. Default behavior is still the same 3s period.best_effort
to increase the probability of dropping a message. -> I can undo this change if needed.