Search found 5727 matches

by coppelia
18 Apr 2024, 14:00
Forum: General questions
Topic: What is the correct way to read applied external force on a tool?
Replies: 1
Views: 41

Re: What is the correct way to read applied external force on a tool?

Hello,

go with sim.getContactInfo. You'll have to correctly parse and filter out forces: if you need to react to those forces, do it in dynamics callback function, since that will be called more frequently than a regular callback function.

Cheers
by coppelia
18 Apr 2024, 13:56
Forum: General questions
Topic: How to Handle Floating Base Issues in Mujoco with a Robotic Arm?
Replies: 3
Views: 56

Re: How to Handle Floating Base Issues in Mujoco with a Robotic Arm?

Hello, indeed, something is strange at first sight... I can't put my finger on it. Upside-down causes the joint controller to behave strangely, while bottom-up, things look relatively ok. This is not the reason, but make sure to adjust the 'armature' MuJoCo parameter somewhat to the upside (in gener...
by coppelia
16 Apr 2024, 14:41
Forum: General questions
Topic: Problem with 'add_force', 'Newton engine'
Replies: 1
Views: 56

Re: Problem with 'add_force', 'Newton engine'

Hello,

this is very specific to the Newton engine. Best would be to check on their forum.

Cheers
by coppelia
12 Apr 2024, 13:51
Forum: General questions
Topic: CoppeliaSim for Surface cleaning
Replies: 4
Views: 131

Re: CoppeliaSim for Surface cleaning

Select the shape, then in the shape dynamics dialog, click Engine properties and adjust one of following (depending on your engine):
  • bullet/friction
  • ode/friction
  • newton/staticFriction and/or newton/kineticFriction
  • mujoco/friction
Cheers
by coppelia
12 Apr 2024, 13:46
Forum: General questions
Topic: Adding external image in a scene.
Replies: 1
Views: 61

Re: Adding external image in a scene.

Hello,

in general, models are scalable. Have a look at the add-on located at [Menu bar > Modules > Geometry / Mesh > Isometric scaling].

About your texture... did you try to use sim.createTexture?

Cheers
by coppelia
12 Apr 2024, 13:41
Forum: General questions
Topic: Rotate an object from API
Replies: 4
Views: 105

Re: Rotate an object from API

Have also a look at sim.rotateAroundAxis

Cheers
by coppelia
11 Apr 2024, 14:28
Forum: Feature requests
Topic: I suggest the Drawing Curve should be reversed when screenshooting.
Replies: 2
Views: 106

Re: I suggest the Drawing Curve should be reversed when screenshooting.

There was a start to offer the same functionality via shapes... hopefully that will make it into the next release. Here the related code: function sim.addDrawingObject(type, size, duplicateTolerance, parentHandle, maxItems, color) if not _S.realDrawingObjects then _S.realDrawingObjects = {} _S.realD...
by coppelia
08 Apr 2024, 15:29
Forum: General questions
Topic: Cartesian Robot Script
Replies: 3
Views: 1275

Re: Cartesian Robot Script

Hello,

the best is probably to first follow this tutorial to get a general idea.

Cheers