I'm running V-REP Version 3.5.0 rev 1 PRO EDO in my 64 bit ubuntu machine. I'm currently using the ROS interface to control two UR3. After runing the simulation few times (3 or 4) the ROS interface does not work any more and I get this message
[ERROR] [1520327116.509295159]: accept() on socket  failed with error [Too many open files]
In fact, I go to the /proc/pid/fd relative to V-REP and I can see a bunch of file descriptor references as broken symbolic links.
I think that I'm not shooting down the publisher or the subscriber in a correct manner.
I have two child script, one is a threaded script and the other is a non-threaded script. In both I'm using the
Code: Select all
function sysCall_cleanup() simROS.shutdownSubscriber(commandSubscriber) simROS.shutdownPublisher(feedbackPublisher) end