NRC_SetStaticTrackingErrorMaxAllow(int trackingError[])
Set the maximum allowable static tracking error value
Please set this parameter when the servo is stopped or in a ready state
Type
int =>Set the maximum allowable static tracking error value
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 | int | The maximum allowable static tracking error value. When the tracking error value is greater than this value, the robot will stop running. The number of array members should not be less than the number of axes of the robot. Unit: ten-thousandth of a degree. Parameter range: 100 <= trackingError <= 5000000 |
Sample code
int trackingError[6]={5000000,5000000,5000000,5000000,5000000,5000000};
NRC_SetStaticTrackingErrorMaxAllow(trackingError);