Skip to main content

NRC_GetCurrentTrackingError(double trackingError[])

Get current tracking error

Type

int =>Get current tracking error

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
trackingError []doubleThe 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);