Skip to main content

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 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
configNRC_RobotDHConfigSee 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