Communicating With Two Machines With ROS2
I'm trying to start up communication between two machines running ROS2 Galactic using the examples:
ros2 run demo_nodes_cpp talker
and
ros2 run demo_nodes_cpp listener
- Both machines are on the same network,
- Both machines have multicasting enabled
- Both machines can ping each other
- Both machines have the same netmask
- I have also tried running the examples on different networks with no success
- Both machines have "export ROS_DOMAIN_ID=30" in their .bashrc
When running the two example nodes on the same machine everything works fine.
Please tell if you need any more info.
Any help would be greatly appreciated!