psychemedia / ou-robotics-vrep

Repository for V-Rep robot simulator activities
Apache License 2.0
6 stars 5 forks source link

vrep-api-python: can't connect using hostname/alias #3

Open psychemedia opened 7 years ago

psychemedia commented 7 years ago

Connecting to the simulator using with VRep.connect("127.0.0.1", 19997) works fine, but an error is thrown using:

Hosts file inside the VM:

$ head /etc/hosts

127.0.0.1   tm129robot  tm129robot
127.0.0.1   localhost
127.0.1.1   vagrant.vm  vagrant