GetRealTorque Method
Description
Returns the torque for the specified joint for the current robot.
Syntax
Function GetRealTorque (JointNumber As Integer) As Double
Parameters
- JointNumber
An integer indicating the joint number for which you want to acquire the torque value.
Return Value
Double value between 0 and 1 which represents the portion of maximum torque for the current power mode and for the specified joint.
See Also
GetLimitTorque Method, GetRobotPos Method
GetRealTorque Example
VB Example:
Dim j1Torque As Double
j1Torque = m_spel.GetRealTorque(1)
C# Example:
double j1Torque;
j1Torque = m_spel.GetRealTorque(1);