Search found 980 matches

by fferri
12 Feb 2024, 09:41
Forum: General questions
Topic: graph object
Replies: 3
Views: 386

Re: graph object

It is done in code, with sim.addGraphStream / sim.addGraphCurve.

See the example at https://manual.coppeliarobotics.com/en/graphs.htm
by fferri
10 Feb 2024, 17:39
Forum: General questions
Topic: how to find the center of mass of a assembly
Replies: 9
Views: 549

Re: how to find the center of mass of a assembly

The center of mass \mathbf{C} of a composite body is given by the weighted average of the individual centers of mass, i.e.: \mathbf{M} = \sum_{i=1}^{n} m_i \mathbf{C} = \frac{1}{\mathbf{M}}\sum_{i=1}^{n} m_i \cdot \mathbf{c}_i where m_i is the mass of the i-th body, and \mathbf{c}_i its center of ma...
by fferri
10 Feb 2024, 17:17
Forum: General questions
Topic: Edit Material bar not found
Replies: 1
Views: 157

Re: Edit Material bar not found

It should be under Dynamic Properties dialog -> Engine Properties in latest CoppeliaSim version.
by fferri
08 Feb 2024, 15:16
Forum: General questions
Topic: How to create a dynamic simulation
Replies: 1
Views: 183

Re: How to create a dynamic simulation

Your image is not publicly accessible. If your robot falls apart it means you have dynamics issues in your robot model. When the robot is properly configured, like any of the provided robots in the models library, it will not fall apart when simulated dynamically. For instance, put a ABB IRB140 robo...
by fferri
06 Feb 2024, 16:02
Forum: General questions
Topic: Objects repel each other
Replies: 3
Views: 724

Re: Objects repel each other

Yes you can draw it in external CAD, that it is probably best for mechanics design. But if you intend to use the model for dynamics simulation, after importing it into coppeliaSim, you have to simplify it, ensure it is convex by doing convex decomposition or approximating it with primitive shapes. I...
by fferri
06 Feb 2024, 10:57
Forum: General questions
Topic: set the mechanical properties
Replies: 3
Views: 710

Re: set the mechanical properties

Apply the force to the cylinder object (sim.addForce / sim.addForceAndTorque) or mount the cylinder onto a joint and apply force to the joint (sim.setJointTargetForce with the joint set in force/torque control mode, or design your own force controller which could be as simple as apply a constant for...
by fferri
05 Feb 2024, 09:08
Forum: General questions
Topic: How to set up a cuboid that can be deformed and bent under the mujoco engine
Replies: 1
Views: 416

Re: How to set up a cuboid that can be deformed and bent under the mujoco engine

Hi,

See the example scene in scenes/mujoco/stringsRopesClothsAndSoftBodies.ttt.
by fferri
05 Feb 2024, 09:07
Forum: General questions
Topic: Running several scenes in parallel, is possible?
Replies: 10
Views: 27416

Re: Running several scenes in parallel, is possible?

No, coppeliasim.bridge doesn't use ZMQ remote API.
by fferri
03 Feb 2024, 11:53
Forum: General questions
Topic: why my while is not working?
Replies: 1
Views: 402

Re: why my while is not working?

jetixmen wrote: 02 Feb 2024, 15:58

Code: Select all

    while joint1 != theta1:
joint1 is the handle of a joint, theta1 is an angle.
What are you trying to do here?