How do I make a ROS2 node communicate with a remote ROS2 node network?

asked 2018-08-27 12:53:36 -0500

sccg gravatar image

updated 2018-08-27 15:01:13 -0500

I currently have ros1(kinetic) communicating via a rosbridge with a ros2 node, and I'd like to send data from those ros2 nodes to remote ros2 nodes. I read here that since there's no roscore, you need to use ROS_DOMAIN_ID to communicate with other nodes on the same network. What if you're not on the same network though? Also, how would you set up them to communicate if you were?

edit retag flag offensive close merge delete

Comments

1

I read here that since there's no roscore, you need to use ROS_DOMAIN_IP [..]

just a note: the name of the environment variable is ROS_DOMAIN_ID, not IP.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-27 14:53:18 -0500 )edit