Search found 5702 matches

by coppelia
26 Mar 2024, 17:16
Forum: General questions
Topic: Connect by Python
Replies: 1
Views: 38

Re: Connect by Python

Hello,

see my answer to your other post.

Cheers
by coppelia
26 Mar 2024, 17:15
Forum: General questions
Topic: Kinect RGB through Python Remote connection
Replies: 1
Views: 44

Re: Kinect RGB through Python Remote connection

Hello,

please use the ZeroMQ remote API, which is much faster, flexible and easy to use. The legacy remote API is deprecated.

Cheers
by coppelia
26 Mar 2024, 17:12
Forum: General questions
Topic: Legacy api to zmq api
Replies: 1
Views: 36

Re: Legacy api to zmq api

Hello,

simply this:

Code: Select all

    for i = 1:obj.number_of_joints
        %Read from joints
        armJoints(i) = sim.getJointPosition(obj.jointHandle{i})
    end
Cheers
by coppelia
26 Mar 2024, 16:18
Forum: General questions
Topic: Stable baselines in child script
Replies: 1
Views: 58

Re: Stable baselines in child script

Hello,

I didn't understand what the exact problem was, when you say that it doesn't seem to work, nor does it give any output... does that mean the CoppeliaSim hangs? Or that the script stops running eventually? Until what point is the script executed?

Cheers
by coppelia
26 Mar 2024, 16:14
Forum: General questions
Topic: getting depth value using vision sensor
Replies: 3
Views: 61

Re: getting depth value using vision sensor

Please share the scene file.

Cheers
by coppelia
26 Mar 2024, 16:13
Forum: General questions
Topic: Torque control of joints using Remote Api Python
Replies: 4
Views: 83

Re: Torque control of joints using Remote Api Python

The model you shared is relatively stable here... with MuJoCo it is even very stable. Please share the equivalent scene file, since there are settings that are not stored in the model and that influence its behaviour.

Cheers
by coppelia
26 Mar 2024, 16:09
Forum: General questions
Topic: some bugs about making Spherical joint
Replies: 1
Views: 55

Re: some bugs about making Spherical joint

Hello, in your MuJoCo model, not all joints are controlled in positions. Additionally, make sure to set all joint's dynamic engine property armature to 20: this is the secret sauce most of the time. When working with Bullet or ODE, you indeed should make sure that masses and inertia are not too diff...
by coppelia
26 Mar 2024, 15:04
Forum: General questions
Topic: portable export of a compound shape
Replies: 2
Views: 46

Re: portable export of a compound shape

Hello,

if you select the compound shape, then navigate to [Menu bar > File > Export > Selection (shapes)...] then you can export it as *.dae format (i.e. collada).

Cheers
by coppelia
26 Mar 2024, 14:57
Forum: General questions
Topic: 3D printer nozzle simulation
Replies: 2
Views: 51

Re: 3D printer nozzle simulation

You might also want to look at OC-Trees... those won't display spheres though, but would be ideal for additive manufact.

Cheers
by coppelia
26 Mar 2024, 14:53
Forum: General questions
Topic: cannot boot windows
Replies: 1
Views: 38

Re: cannot boot windows

Hello,

wrong forum, this is not a forum about Windows..

Cheers