Search found 5724 matches

by coppelia
02 Apr 2024, 07:28
Forum: General questions
Topic: Can not be remote with MATLAB on Mac
Replies: 3
Views: 93

Re: Can not be remote with MATLAB on Mac

The legacy remote API is deprecated. We highly recommend to switch to the ZeroMQ remote API , which is now de facto the default remote API. With the legacy remote API, there was never simRemoteApi.start(19999) in the main script. But in any case, you can call simRemoteApi.start from wherever you wan...
by coppelia
02 Apr 2024, 06:19
Forum: Bug reports
Topic: ZMQ remote API failing after the same amount of runs of a simulation
Replies: 7
Views: 157

Re: ZMQ remote API failing after the same amount of runs of a simulation

From first tests, it appears that sim.loadScene is the culprit. This bug somehow also happens with sim.loadModel. A first workaround would be to avoid constantly reloading the same scene/model: after a simulation stop, the scene should anyways be mostly restored to its original state (i.e. just befo...
by coppelia
28 Mar 2024, 13:51
Forum: General questions
Topic: Can not be remote with MATLAB on Mac
Replies: 3
Views: 93

Re: Can not be remote with MATLAB on Mac

Hello, I am not sure I understand your problem... if I understand you correctly, you are trying to use the ZeroMQ remote API via MATLAB, but that doesn't work. What is the problem? Is there any error message? What CoppeliaSim version are you running? What kind of relative code in the main script are...
by coppelia
28 Mar 2024, 13:41
Forum: General questions
Topic: About the rope in coppelisim
Replies: 1
Views: 74

Re: About the rope in coppelisim

Hello, have a look at the demo scene scenes/mujoco/stringsRopesClothsAndSoftBodies.ttt : Following are the steps required: Create a prismatic joint Create 2 dummies In the dummy dialog , set the dummy type to Dynamic, tendon constraint Set the linked dummy to the other dummy Click Engine properties ...
by coppelia
28 Mar 2024, 13:28
Forum: Bug reports
Topic: ZMQ remote API failing after the same amount of runs of a simulation
Replies: 7
Views: 157

Re: ZMQ remote API failing after the same amount of runs of a simulation

Thanks, with that I can reproduce the bug. Need to investigate more...

Cheers
by coppelia
28 Mar 2024, 07:33
Forum: General questions
Topic: How to get the angle change of rotating joints during simulation
Replies: 1
Views: 51

Re: How to get the angle change of rotating joints during simulation

Hello,

there are several functions related to 3D transformations you could use. But best is probably to use sim.getRotationAxis. Make sure to also read the section on positions, orientations and transformations.

Cheers
by coppelia
27 Mar 2024, 10:57
Forum: General questions
Topic: Asti model
Replies: 1
Views: 46

Re: Asti model

Hello,

the Asti robot is inspired by Asimo, the humanoid robot from Honda. Asti does not exist in real.

Cheers
by coppelia
27 Mar 2024, 10:01
Forum: General questions
Topic: getting the joint force as a float or integer
Replies: 5
Views: 105

Re: getting the joint force as a float or integer

Hello, in the very first simulation step, before the physics engine is even called, there is no dynamic state. And in that case, the function will return None . The easiest solution would be to skip the very first simulation step in your sysCall_actuation function. Cheers Edit: actually, we will cha...
by coppelia
27 Mar 2024, 09:54
Forum: Bug reports
Topic: Prismatic joint with velocity 0 doesn't hold position.
Replies: 3
Views: 82

Re: Prismatic joint with velocity 0 doesn't hold position.

For hydraulic cylinders, I'd use prismatic joints in position control mode.

If you need anything more fancy, then use a custom control mode, and write your own controller for that (via a joint callback function).

Cheers
by coppelia
26 Mar 2024, 17:27
Forum: Bug reports
Topic: ZMQ remote API failing after the same amount of runs of a simulation
Replies: 7
Views: 157

Re: ZMQ remote API failing after the same amount of runs of a simulation

Can you provide a minimalistic Python client code that would trigger that error? (maybe with a related minimalistic scene)

Cheers