Regular API function

simSetJointTargetVelocity / sim.setJointTargetVelocity

Description Sets the intrinsic target velocity of a non-spherical joint. This command makes only sense when the joint mode is torque/force mode: the dynamics functionality and the joint motor have to be enabled (position control should however be disabled). See also sim.getJointTargetVelocity.
C synopsis simInt simSetJointTargetVelocity(simInt objectHandle,simFloat targetVelocity)
C parameters
objectHandle: handle of the joint object
targetVelocity: target velocity of the joint (linear or angular velocity depending on the joint-type).
C return value
-1 if operation was not successful
Lua synopsis sim.setJointTargetVelocity(int objectHandle,float targetVelocity)
Lua parameters
Similar to the C-function counterpart
Lua return values
none
Remote API equiv.
B0-based remote API: simxSetJointTargetVelocity
Legacy remote API: simxSetJointTargetVelocity