VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Report crashes, strange behaviour, or apparent bugs
agsdyson
Posts: 30
Joined: 13 Feb 2019, 14:02

Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Post by agsdyson » 17 Apr 2019, 10:40

It does not crash overnight but as I mentioned before this alternative connection method is unreliable and causes other problems for running parallel instances.

coppelia
Site Admin
Posts: 7441
Joined: 14 Dec 2012, 00:25

Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Post by coppelia » 18 Apr 2019, 14:21

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

agsdyson
Posts: 30
Joined: 13 Feb 2019, 14:02

Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Post by agsdyson » 24 Apr 2019, 14:13

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

coppelia
Site Admin
Posts: 7441
Joined: 14 Dec 2012, 00:25

Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Post by coppelia » 24 Apr 2019, 14:36

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

Post Reply