Finer control of messages forwarded using ros1_bridge

I want to use the bridge to forward messages to different robots that runs on different cores.

So there are messages for example /diagnostics or internal messages that are on a topic that does not have a namespace to indicate that it belongs to a specific robot. And these messages should not be forwarded but they are subscribed to on each platform so if I just use dynamic_bridge they will be forwarded and mess up things.

The messages that are forwarde either have a prefix or are messages that are global to the whole system of robots.