publisher is faster than callback where is called [closed]
Hi all, I'm trying to use Syncronizer class with a couple of subscribers. The two sources are published at 14 Hz and the output I publish inside the joined callback is 6 Hz, even if it's very lightweight and the two sources are very close in time (less than 10 nanoseconds). So I tried with just an ordinary callback, I listen to the input (at 14 Hz) and publish a string from inside the callback...and...surprise: I publish at 20 Hz!!! I'm faster than the source! How is it possible???
can you post your code and 2 topicnames
I just realized that I was publishing in both the callbacks, so 6 + 14 = 20 Hz. We can close the question.