2

I am trying to run the demo example from rclpy client library .

My question is I am able to run the publisher and subriber example from the client library on the same machine. But Now I want to run these two on different machine for example I want to run mz publisher on my windows host machine and the listener on LInux vitrual machine Where can I set the endpoints for pu&b&sub in rclpy lib so that my publisher on windows can send data to the listener running on LInux VM.

Any help would be appreciated.

Druta Ruslan
  • 7,171
  • 2
  • 28
  • 38
Vishal Rawat
  • 325
  • 1
  • 3
  • 19

1 Answers1

2

It is quite simple to run nodes on different machines using ROS2. All you have to ensure is that you are connected to the same network. You can get a detailed explanation in the following thread.