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 » 06 Nov 2019, 10:08

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: 7396
Joined: 14 Dec 2012, 00:25

Re: the velocity is linear or angular velocity

Post by coppelia » 06 Nov 2019, 15:21

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 » 07 Nov 2019, 03:33

got it. thank you!

Post Reply