## the velocity is linear or angular velocity

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

### the velocity is linear or angular velocity

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

### Re: the velocity is linear or angular velocity

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

got it. thank you!