Random timeouts when using Remote API until I click on VREP GUI

Typically: "How do I... ", "How can I... " questions
Post Reply
fraserprice
Posts: 2
Joined: 02 Jan 2019, 09:04

Random timeouts when using Remote API until I click on VREP GUI

Post by fraserprice »

I am having a very strange issue while using the remote Python API.

My simulation runs fine to begin with, but after a seemingly random amount of time (~1-2 mins) all requests sent to VREP from python start timing out. The weird thing is that this happens until I physically click on the VREP GUI window (i.e. just focus it on my OS). I have tried all of reloading the scene, disconnecting and reconnecting, waiting for a few seconds and trying again, but all of these requests time out; that is until I click anywhere on the VREP window and the problems instantly stop. After another seemingly random amount of time they start again and the problem repeats.

When running in headless mode, the timeouts simply do not stop.

I am using OSX High Sierra 10.13.1.

Edit: I have switched to using an Ubuntu docker container which seems to work like a charm. There definitely seems to be an issue with V-REP and OSX.

Post Reply