Skip to main content

NRC_SetDynamicTrackingErrorMaxAllow(int trackingError[])

Set the maximum allowable dynamic tracking error value

Please set this parameter when the servo is stopped or in a ready state

Type

int =>Set the maximum allowable dynamic tracking error value

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
trackingErrorintThe maximum allowable dynamic 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_SetDynamicTrackingErrorMaxAllow(trackingError);