Search found 6740 matches

by coppelia
17 Aug 2018, 13:33
Forum: General questions
Topic: A magnet keeps rotating when implementing magnetic dipoles in VREP
Replies: 2
Views: 29

Re: A magnet keeps rotating when implementing magnetic dipoles in VREP

Hello,

not really sure how to implement this correctly, I would also have said to use damping. That this is always cheating. Did you try with a different physics engine? Is the result similar?

Cheers
by coppelia
17 Aug 2018, 13:24
Forum: General questions
Topic: DynCallback as Eventmessage in Plugin
Replies: 1
Views: 14

Re: DynCallback as Eventmessage in Plugin

Hello,

unfortunately this is not possible. You'll have to call a custom function inside of your plugin, from that customization script.

Cheers
by coppelia
17 Aug 2018, 13:21
Forum: General questions
Topic: The API function and joint dynamic properties of force control and position control for a primastic joint
Replies: 5
Views: 85

Re: The API function and joint dynamic properties of force control and position control for a primastic joint

To set a negative force, you'll have to set a negative target velocity (sim.setJointTargetVelocity). But you should keep the same amplitude of that target velocity.

Cheers
by coppelia
17 Aug 2018, 13:19
Forum: General questions
Topic: Multi-threaded connection using simxStart
Replies: 4
Views: 5602

Re: Multi-threaded connection using simxStart

Hello,

can you show use how you are reading the position?

Cheers
by coppelia
10 Aug 2018, 12:54
Forum: General questions
Topic: Doubt about sim.rmlPos
Replies: 11
Views: 117

Re: Doubt about sim.rmlPos

You are moving the robot end-effector with sim.rmlPos. This means that the position/velocity of the end-effector will be modified. i.e. the velocity of the end-effector will be limited by the specified movement profile. Not the velocity of the joints (which are another space).

Cheers
by coppelia
10 Aug 2018, 12:50
Forum: General questions
Topic: P3DX OMPL plugin path plan difficult
Replies: 5
Views: 72

Re: P3DX OMPL plugin path plan difficult

It is not required to have your code in the sensing section. But depending on what you are doing, you could then be reading the distance just before the robot moves, which technically is the distance from previous simulation frame.

Read more here.

Cheers
by coppelia
09 Aug 2018, 12:59
Forum: General questions
Topic: Doubt about sim.rmlPos
Replies: 11
Views: 117

Re: Doubt about sim.rmlPos

Please try provide a minimalistic example that illustrates your problem. We cannot afford to debug complex code / scenes of others.

Cheers
by coppelia
09 Aug 2018, 11:00
Forum: General questions
Topic: Doubt about sim.rmlPos
Replies: 11
Views: 117

Re: Doubt about sim.rmlPos

Yes, typically you would change the position of the IK target object (i.e. a dummy) via sim.setObjectPosition.

Cheers
by coppelia
09 Aug 2018, 10:46
Forum: General questions
Topic: wheel joint roll in place?
Replies: 3
Views: 44

Re: wheel joint roll in place?

Are you sure that the wheel is attached to a dynamic, and not a static part? e.g. your robot casing could be suspended in the air.
Otherwise, try to post your scene, e.g. via dropbox or similar.

Cheers
by coppelia
08 Aug 2018, 18:50
Forum: General questions
Topic: My Robot doesn´t interact with the floor.
Replies: 14
Views: 350

Re: My Robot doesn´t interact with the floor.

You model is very heavy, and slow. And for a mobile robot typically, you should use pure cylinders for the wheels. Make sure to follow a few tutorials.

In the shape edit mode, you can turn a shape into a pure cylinders.

Cheers