Ask Your Question
0

How can I transfer ROS2 message/service

asked 2020-07-20 16:33:10 -0500

maxime gravatar image

updated 2020-07-20 16:34:53 -0500

  • 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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-21 09:17:18 -0500

pedro1713 gravatar image

I think you will have to subscribe to the message in NodeX and republish the message on NetworkB

edit flag offensive delete link more

Comments

But what if it's a service ? With a specific type of .srv ? I just want something dynamic

maxime gravatar image maxime  ( 2020-07-21 11:09:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-07-20 16:33:10 -0500

Seen: 96 times

Last updated: Jul 21 '20