Headless mode on mac
Posted: 24 Nov 2014, 17:47
Hi everyone,
I'm currently trying to connect to v-rep in headless mode using the python remote API. It's working fine under my ubuntu laptop but it fails (most of the time...) under mac os.
What I'm trying to do basically looks like this:
The loadscene call always returns 3 (meaning not value and/or timeout) even after a very long time.
Any hints?
I'm currently trying to connect to v-rep in headless mode using the python remote API. It's working fine under my ubuntu laptop but it fails (most of the time...) under mac os.
What I'm trying to do basically looks like this:
Code: Select all
cid = vrep.simxStart('127.0.0.1', 19997, True, True, 5000, 5)
while True:
err = vrep.simxLoadScene(cid, scene_path, True, vrep.simx_opmode_oneshot_wait)
if err == 0:
break
Any hints?