How to run example talker/listener on 2 machines with different ipaddr?

Hi, marguedas

I’m trying the similar thing, to get ros2_talker in my host to send messages to ros2_listener in virtualbox.
Host: macOS, using ROS2_beta1
VBox: Lubuntu16.04, using ROS2_beta2

I used the “Bridged” network setup on VBox and I was able to ping them on both sides.
I tried export ROS_DOMAIN_ID=42, but it doesn’t seem to be working in my case. Do you have any ideas?

1 Like