Skip to main content

NRC_SetRobotDecareConfig(NRC_RobotDecareConfig config)

Set robot cartesian parameters

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

Type

int =>Set robot cartesian 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_RobotDecareConfigSee NRC_RobotDecareConfig

Sample code

NRC_RobotDecareConfig robotDecareConfig = {1000, 3, -3};//Cartesian parameter configuration
NRC_SetRobotDecareConfig(robotDecareConfig);//Set cartesian parameter configuration