the velocity is linear or angular velocity

Typically: "How do I... ", "How can I... " questions
Post Reply
Sophia
Posts: 12
Joined: 31 Oct 2019, 06:33

the velocity is linear or angular velocity

Post by Sophia »

In the function simSetJointTargetVelocity ,i set a velocity. And the joint is connect with a wheel. so the velocity i set is the wheel's linear velocity or angular velocity?

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

Re: the velocity is linear or angular velocity

Post by coppelia »

Hello,

sim.setJointTargetVelocity sets the desired velocity of a joint. If the joint is prismatic, then it is the linear velocity. If the joint is revolute, then it is the angular velocity.

Cheers

Sophia
Posts: 12
Joined: 31 Oct 2019, 06:33

Re: the velocity is linear or angular velocity

Post by Sophia »

got it. thank you!

Post Reply