NRC_GetCurrentTrackingError(double trackingError[])
Get current tracking error
Type
int =>Get current tracking error
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 |
---|---|---|
trackingError [] | double | The current tracking error will be returned through an array, and the number of array members should not be less than the number of axes of the robot |
Sample code
double trackingError[];
NRC_GetCurrentTrackingError(trackingError);