Search found 8513 matches

by coppelia
04 May 2021, 16:30
Forum: General questions
Topic: How to set CoppeliaSim to export multiple data for a graph that is not vertically aligned?
Replies: 7
Views: 64

Re: How to set CoppeliaSim to export multiple data for a graph that is not vertically aligned?

You can see the version and revision number on the download page. We recently added them.

Cheers
by coppelia
04 May 2021, 14:29
Forum: General questions
Topic: Problem on using URDF
Replies: 3
Views: 359

Re: Problem on using URDF

Hello Andres,

can you post a minimalistic, self-contained URDF file that illustrates this problem?

Cheers
by coppelia
04 May 2021, 14:27
Forum: General questions
Topic: How to enable dynamic properties during simulation
Replies: 1
Views: 21

Re: How to enable dynamic properties during simulation

Hello, yes, you can use some of following API functions for that. But make sure that simulation is not running when doing this, or reset the shape via sim.resetDynamicObject after such a change. sim.setObjectInt32Parameter (shapeHandle,sim.shapeintparam_static,0) sim.setShapeMass sim.setShapeInertia...
by coppelia
03 May 2021, 10:27
Forum: General questions
Topic: Synchronization of MATLAB Control Loop In CoppeliaSim
Replies: 3
Views: 41

Re: Synchronization of MATLAB Control Loop In CoppeliaSim

You should have a look what the simulation time in CoppeliaSim says: if your simulation time step is 100ms, and you trigger 10 individual steps, then your simulation time should then be at 1 second (your robot could be wrongly configured, etc.). Maybe you can share a minimalistic scene that illustra...
by coppelia
30 Apr 2021, 12:12
Forum: General questions
Topic: Simulate multiple times the same scenario using CoppeliaSim and MATLAB
Replies: 9
Views: 78

Re: Simulate multiple times the same scenario using CoppeliaSim and MATLAB

Make sure you understand how the legacy remote API works. e.g. carefully read the documentation for simxGetObjectHandle: the first return value is not the handle of the object, but the return code of the call.

Cheers
by coppelia
30 Apr 2021, 08:57
Forum: General questions
Topic: Synchronization of MATLAB Control Loop In CoppeliaSim
Replies: 3
Views: 41

Re: Synchronization of MATLAB Control Loop In CoppeliaSim

Hello, I am suspecting that you are sending the trigger signal several times during one simulation step. Make sure that one simulation step is done, before sending the next trigger. To do that you could imaging having a non-threaded child script that increments an integer signal (via sim.setInt32Sig...
by coppelia
30 Apr 2021, 08:32
Forum: General questions
Topic: Simulate multiple times the same scenario using CoppeliaSim and MATLAB
Replies: 9
Views: 78

Re: Simulate multiple times the same scenario using CoppeliaSim and MATLAB

Yes you can also do that from Matlab directly. From there, also make sure that the simulation has really stopped (e.g. by using simxGetInMessageInfo ) before adjusting the initial conditions, and restarting the simulation. When simulation is stopped, you can use sim.setJointPosition and/or simxSetJo...
by coppelia
30 Apr 2021, 08:16
Forum: General questions
Topic: How to set CoppeliaSim to export multiple data for a graph that is not vertically aligned?
Replies: 7
Views: 64

Re: How to set CoppeliaSim to export multiple data for a graph that is not vertically aligned?

Hello,

you are right, there is a bug in there. We'll try to post a correction revision (rev5) until Monday.

Cheers
by coppelia
29 Apr 2021, 15:36
Forum: General questions
Topic: Simulate multiple times the same scenario using CoppeliaSim and MATLAB
Replies: 9
Views: 78

Re: Simulate multiple times the same scenario using CoppeliaSim and MATLAB

Hello, not sure I caught everything you meant but: if you need to run several simulation scenarios with different initial conditions, it is indeed best to stop the simulation, change the initial conditions, then start the simulation again. You can automate this of course. From Matlab, you'd call sim...