Prismatic joints

Typically: "How do I... ", "How can I... " questions
Post Reply
smilamc
Posts: 3
Joined: 12 Feb 2014, 22:57

Prismatic joints

Post by smilamc »

Hi, I am having trouble getting started with V-REP, I have two objects connected with a prismatic joint, I want the joint to expand and contract in a sinusoidal motion when simulated, I have the objects set up but I don't know how to make the joint slide.
Please help!

coppelia
Site Admin
Posts: 8206
Joined: 14 Dec 2012, 00:25

Re: Prismatic joints

Post by coppelia »

Hello,

set the joint to the force/torque mode in the joint properties. Then in the joint dynamic properties, check motor enabled and control loop enabled.

Then you should be able to adjust the length of the prismatic joint with the simSetJointTargetPosition command.

Cheers

Post Reply