How can I transfer ROS2 message/service
- I have a Node_X connected to Network_A & Network_B.
- I have a Node_Y connected to Network_A.
- I have a Node_Z connected to Network_B.
If I publish on Node_Y it will go through Network_A and reach Node_X. How can I make Node_X send the data received via Node_Y to Node_Z through the Network_B ?
I guess I can just get subscribed to the message and publish it back BUT I would like it to be automated. Basically, I want a dynamic_bridge for ROS2 only. And I don't want it to rebuild the message/service but simply pass them.
How can I do this ?