Roscore on virtual machine
Hi, I'm trying to run roscore on virtual machine in cloud and connect robots to it. I have installed ros on vm. I have a openvpn server running as well, so robots could communicate with cloud and vice versa. On my robot I have openvpn client running.
Lets say my IP on vm is: 1.1.1.1 and virtual network ip is 2.2.2.2
On robot ip: 3.3.3.3 and virtual network ip 4.4.4.4
On vm: openvpn server running, roscore running, I used export ROS_HOSTNAME=2.2.2.2
On robot: openvpn client running, I used export ROS_MASTER_URI=http://mycloud.cloudapp.net:11311 and export ROS_HOSTNAME=4.4.4.4
And I get the error "Unable to communicate with master" on my robot.
Can anyone help me with this issue.Thank you very much