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 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 |
---|---|---|
resolution | double | The 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);