Search found 5729 matches

by coppelia
19 Apr 2024, 14:42
Forum: General questions
Topic: Control pioneer with Matlab
Replies: 1
Views: 37

Re: Control pioneer with Matlab

Hello, best would be to post a minimalistic, self-containing scene, that illustrates your problem. Not sure what object you use to get the robot's position/orientation, but if you use the robot's base, then indeed you can only look at the gamma component of the orientation. Keep in mind that it vari...
by coppelia
19 Apr 2024, 14:34
Forum: General questions
Topic: How to Handle Floating Base Issues in Mujoco with a Robotic Arm?
Replies: 4
Views: 73

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

About your second problems: Many things can go wrong or are rather tricky: You have the sim and IK world. They should be synced, otherwise you'll see some strange effects due to mismatches Since your robot can be upside-down, things get tricky because the IK world does not understand upside-down (an...
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: 54

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: 4
Views: 73

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: 67

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: 135

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: 63

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: 107

Re: Rotate an object from API

Have also a look at sim.rotateAroundAxis

Cheers