VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
It does not crash overnight but as I mentioned before this alternative connection method is unreliable and causes other problems for running parallel instances.
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Sorry, forgot that you already tried that option.
I have uploaded a new version of the legacy remote API plugin here. Can you try with that one? Make sure to set value of useAlternateSocketRoutines to false again in file remoteApiConnections.txt
Cheers
I have uploaded a new version of the legacy remote API plugin here. Can you try with that one? Make sure to set value of useAlternateSocketRoutines to false again in file remoteApiConnections.txt
Cheers
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Thanks for the patch,
I've been running with new version of the legacy remote api plugin. It has failed to connect as before, but I want to perform more tests before I say for certain.
If I set useAlternateSocketRoutines to true, does that have exactly the same behaviour as the unupdated plugin?
Thanks
I've been running with new version of the legacy remote api plugin. It has failed to connect as before, but I want to perform more tests before I say for certain.
If I set useAlternateSocketRoutines to true, does that have exactly the same behaviour as the unupdated plugin?
Thanks
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
That's strange. Here it works with the new version of the plugin. The only thing that was changed is to correctly close sockets when disconnecting (thus not causing the memory leak).
Make sure that useAlternateSocketRoutines is false with the new plugin (otherwise it behaves as the old plugin, when useAlternateSocketRoutines is true).
Cheers
Make sure that useAlternateSocketRoutines is false with the new plugin (otherwise it behaves as the old plugin, when useAlternateSocketRoutines is true).
Cheers
-
- Posts: 3
- Joined: 05 Sep 2022, 14:40
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Hi, may I ask what this killAll.sh is? I have the same problem here and don't know how to kill the instances. Thank you.
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Hello,
this thread relates to the legacy remote API. We highly recommend that you instead use the ZeroMQ remote API, which is easier, and much more flexible to use, since it allows to use all the same API functions as from within CoppeliaSim.
Cheers
this thread relates to the legacy remote API. We highly recommend that you instead use the ZeroMQ remote API, which is easier, and much more flexible to use, since it allows to use all the same API functions as from within CoppeliaSim.
Cheers
Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
I don't use vrep any more but I dug out the old script.
you will need to update it to match your code.
Code: Select all
#bash
#!/usr/bin/env bash
pkill -9 vrep &
kill $(pgrep -f minimalExample.py)