Does a node receive messages sent by itself on a topic that it is both publishing and subscribing to?
I am working on writing some code for a project, but I have a node that will be continuously publishing(30 Hz) to a topic while also subscribing to the same topic to listen for a different pub from a different node. Basically, node A is listening to topic X and publishing to topic X. Meanwhile another node, node B, will at some time, publish a message to topic X. Will the subscriber callback in node A be triggered every time it publishes sometime? Also, will it be able to pick up the message if node B only publishes once? Thanks, luketheduke
May I suggest a title change? Your question seems to be really about whether a node receives its own messages if it publishes on a topic it also subscribes to. You can't actually 'receive callbacks', just messages.
Thanks for the suggestion! It's changed.