Skip to main content

NRC_SetAbsolutePosResolution(double resolution)

Set robot absolute position resolution

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

Type

int =>Set robot absolute position resolution

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
resolutiondoubleThe position resolution of the robot; when the difference between two positions is smaller than this value, the robot will consider them as the same position, unit: degrees, parameter range: 0.0001 <= resolution <= 0.1

Sample code

NRC_SetAbsolutePosResolution(0.001);