NRC_SetRobotDHConfig(NRC_RobotDHConfig config)
Set robot DH parameters
Please set this parameter when the servo is stopped or in a ready state
Type
int =>Set robot DH parameters
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 |
---|---|---|
config | NRC_RobotDHConfig | See NRC_RobotDHConfig |
Sample code
NRC_RobotDHConfig robotDHConfig = {321.5, 270,70,299, 78.5, 50, 0, 90, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0};//DH parameter configuration
NRC_SetRobotDHConfig(robotDHConfig );//Set DH parameter configuration