Search found 30 matches

by agsdyson
19 Mar 2019, 09:52
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 23
Views: 4000

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

I don't have a minimal example working yet, but I left a reduced sample running overnight and found that vrep has used up 250GB of ram. https://imgur.com/a/p5le2lt https://imgur.com/a/p5le2lt The top process is vrep, the one underneath is the python code where I continuously connect, create some obj...
by agsdyson
18 Mar 2019, 14:54
Forum: General questions
Topic: OMPL - how to use a PRM
Replies: 4
Views: 815

Re: OMPL - how to use a PRM

Thanks,

@coppelia. Is there a plan to fix this bug in the future?
by agsdyson
15 Mar 2019, 10:49
Forum: General questions
Topic: Set up dependent joint from lua api
Replies: 2
Views: 513

Set up dependent joint from lua api

Hi, I have set up a dependent joint using the gui and everything behaves as expected. I am generating robots programattically using the lua api and so far I have not been able to create a dependent joint from lua code. I can use: sim.setJointMode(sim.jointmode_dependent) but I can't find an api func...
by agsdyson
14 Mar 2019, 16:57
Forum: General questions
Topic: How to access the stack trace from the external API
Replies: 4
Views: 797

Re: How to access the stack trace from the external API

Thanks. I've been playing around with those functions, but the debug.traceback() does not seem to have as much information as the stack trace in the status area.
by agsdyson
14 Mar 2019, 13:48
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 23
Views: 4000

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

I include a set of lua functions that I have wrapped so they can be called from the external api. I'm not sure what the console prints because have a desktop shortcut to launch vrep that does not open a console window. The status bar message is directly linked to the crash. The message says that the...
by agsdyson
11 Mar 2019, 08:55
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 23
Views: 4000

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

Yes, I am running 3.6.0. The getLastErrors() command results may not be related to the crash. I think the error occurs regardless of the crash or not.
by agsdyson
08 Mar 2019, 09:16
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 23
Views: 4000

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

The return value of the vrep.simxGetLastErrors() is:

Code: Select all

'Object does not exist. (simGetObjectHandle)'
by agsdyson
08 Mar 2019, 08:55
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 23
Views: 4000

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

I am launching VREP from python and am using a slightly modified version of the remoteApiCommandServer.ttt file args = [os.path.join(vrepPath, "vrep.sh"), "-gREMOTEAPISERVERSERVICE_" + str(portNum) + "_FALSE_FALSE", remoteAPIscene.ttt] subprocess.Popen(args, shell=False, cwd=vrepPath) I've been leav...
by agsdyson
07 Mar 2019, 15:43
Forum: General questions
Topic: How to access the stack trace from the external API
Replies: 4
Views: 797

How to access the stack trace from the external API

I'm using python to call the external API to do some simulation. if I use the python external API to call "sim.setObjectName()" with the incorrect arguments the stack trace output is: Lua runtime error: [string "CHILD SCRIPT remoteApiCommandServer"]:51: The function requires more arguments. (sim.set...
by agsdyson
28 Feb 2019, 11:11
Forum: General questions
Topic: OMPL - how to use a PRM
Replies: 4
Views: 815

OMPL - how to use a PRM

I've been looking at the documentation and source code of the OMPL plugin for VREP but I'm still confused by how PRM's work in VREP. If I am using RRT or any single query path planning algorithm I create a task, execute the compute() function and get a result. If I use a probabilistic roadmap, I ide...