Description
|
Sets the target linear/angular velocity of a non-spherical joint. When in kinematic mode, the joint will move according to a motion profile that respects maximum acceleration and jerk values. In dynamic and velocity control mode, the controller is instructed about the desired velocity. See also sim.getJointTargetVelocity.
|
C/C++ synopsis
|
simInt simSetJointTargetVelocity(simInt objectHandle,simFloat targetVelocity) |
C/C++ parameters |
objectHandle: handle of the joint object
targetVelocity: target velocity of the joint
|
C/C++ return value
|
-1 if operation was not successful
|
Lua synopsis
|
sim.setJointTargetVelocity(int objectHandle,float targetVelocity,float[] motionParams={}) |
Lua parameters |
objectHandle: handle of the joint object
targetVelocity: target velocity of the joint
|
Lua return values
|
|
Python synopsis |
sim.setJointTargetVelocity(int objectHandle,float targetVelocity,float[] motionParams=[]) |