Regular API function

simSetJointTargetVelocity (remote API equivalent: simxSetJointTargetVelocity)

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 simGetJointTargetVelocity.
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. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetJointTargetVelocity(number objectHandle,number targetVelocity)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page