demos icon indicating copy to clipboard operation
demos copied to clipboard

Allow timer rate to be configurable in`message_lost_talker`

Open Yadunund opened this issue 1 year ago • 3 comments

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.

Yadunund avatar May 05 '24 21:05 Yadunund

@Yadunund friendly ping 🧇

sloretz avatar May 16 '24 22:05 sloretz

Sorry for the delay. Will have this cleaned up by end of this week

Yadunund avatar May 23 '24 17:05 Yadunund

@Yadunund I applied the suggested changes. Do you mind to take a look ?

ahcorde avatar Oct 06 '25 09:10 ahcorde