Search found 15 matches

by Rex
30 May 2018, 03:49
Forum: General questions
Topic: Does V-REP use multi-threading for simulations?
Replies: 2
Views: 446

Re: Does V-REP use multi-threading for simulations?

Thanks for the great information!
by Rex
25 May 2018, 03:56
Forum: General questions
Topic: Does V-REP use multi-threading for simulations?
Replies: 2
Views: 446

Does V-REP use multi-threading for simulations?

Hi, may I know if V-REP currently uses multi-threading for simulations? Will it rely on the GPU for rendering the scene beyond vision sensors in the future?

I am trying to understand its CPU/GPU resource usage currently, in preparation for a simulation involving 30-400 heterogeneous robots. Thanks.
by Rex
15 May 2018, 11:04
Forum: General questions
Topic: Quadcopter becomes unstable at scales of <=40%
Replies: 3
Views: 439

Re: Quadcopter becomes unstable at scales of <=40%

Hi Coppella, thanks for the advice.

In general, is there a minimum size each dynamic shape should have if I were to scale models down to really small sizes? I.E 2% of original size, assuming the parameters of the models' child script have been retuned for the new scale

Thanks!
by Rex
14 May 2018, 07:55
Forum: General questions
Topic: Quadcopter becomes unstable at scales of <=40%
Replies: 3
Views: 439

Quadcopter becomes unstable at scales of <=40%

Hi, I've tried scaling the default quadcopter down and noticed that it becomes unstable at <=40% (i.e exploding).

May I know is this due to a threshold on the minimum size required of the components, or is it caused by something else?

Thanks in advance!
by Rex
19 Apr 2018, 08:46
Forum: General questions
Topic: Problem with passing multiple strings to lua function from simxCallScriptFunction (C++ API)
Replies: 5
Views: 645

Re: Problem with passing multiple strings to lua function from simxCallScriptFunction (C++ API)

Here's my code: const char* modelPathAndName = "models/robots/mobile/Quadricopter.ttm"; //value passed as parameter from another function const char* TargetName = "Quadricopter_target"; //value passed as parameter from another function char inStrings[200]; strcpy(inStrings, modelPathAndName); strcat...
by Rex
19 Apr 2018, 08:09
Forum: General questions
Topic: Problem with passing multiple strings to lua function from simxCallScriptFunction (C++ API)
Replies: 5
Views: 645

Problem with passing multiple strings to lua function from simxCallScriptFunction (C++ API)

Hi, may I know what is the correct way to pass multiple strings to a lua function through the C++ simxCallScriptFunction? Currently, I have concatenated the two strings into a single const char* variable in C++ and passed it to simxCallScriptFunction. (I.E models/robots/mobile/Quadricopter.ttm\0Quad...
by Rex
19 Apr 2018, 05:20
Forum: General questions
Topic: Best practices for loading model to a specific coordinate in a running simulation
Replies: 2
Views: 489

Re: Best practices for loading model to a specific coordinate in a running simulation

Thanks, I will try the regular api call route through simxcallscriptfunction.
by Rex
16 Apr 2018, 10:13
Forum: General questions
Topic: Best practices for loading model to a specific coordinate in a running simulation
Replies: 2
Views: 489

Best practices for loading model to a specific coordinate in a running simulation

Hi, may I know what are the best practices for loading a model to a specific coordinate in a scene while a simulation is actively running? I'm currently using the simxLoadModel C++ remote api to load multiple quadricopter models in a 25x25m V-REP scene. As they are all loaded at the center of the fl...
by Rex
16 Apr 2018, 09:11
Forum: General questions
Topic: simxCallScriptFunction received corrupted object handle
Replies: 2
Views: 442

Re: simxCallScriptFunction received corrupted object handle

Hi, thanks for your help. I've tried your code and the returned data was all correct.