Can TimeSynchronizer be made to react to a non-associated message?

asked 2021-04-28 06:51:52 -0500

nnmm gravatar image

Using a TimeSynchronizer of two topics, can my application be notified when a message of either topic gets dropped because no corresponding message of the other topic was received?

edit retag flag offensive close merge delete

Comments

Quick comment: you should be able to use registerDropCallback(..) for this.

gvdhoorn gravatar image gvdhoorn  ( 2021-04-28 06:54:29 -0500 )edit

Thanks, that's helpful, but I can't see which topic's message was dropped, can I?

nnmm gravatar image nnmm  ( 2021-04-28 07:18:10 -0500 )edit

I don't believe you can, no.

gvdhoorn gravatar image gvdhoorn  ( 2021-04-28 08:30:06 -0500 )edit

Hi, I see that registerDropCallback() works only for synchronizers with ExactTime policy only. Do you know if the same behavior is achievable with ApproximateTime policy, too? the method does not exist in this case.

Thank you

macia gravatar image macia  ( 2022-08-10 02:47:20 -0500 )edit