NRC_GetTorq(double* torq)
Get the torque of each joint (‰)
Type
int=>Get the torque of each joint (‰)
| Return value | Description |
|---|---|
| 0 | The function is called successfully |
| -101 | Invalid input parameter |
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
| -103 | The target object is currently in an inoperable state |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| torq | double * | Return the torque value of each joint in the form of an array |
Sample code
double torq[];
NRC_GetTorq(torq);