Skip to main content

NRC_GetTorq(double* torq)

Get the torque of each joint (‰)

Type

int=>Get the torque of each joint (‰)

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
torqdouble *Return the torque value of each joint in the form of an array

Sample code

double torq[];
NRC_GetTorq(torq);