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 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_RobotDecareConfig | See NRC_RobotDecareConfig |
Sample code
NRC_RobotDecareConfig robotDecareConfig = {1000, 3, -3};//Cartesian parameter configuration
NRC_SetRobotDecareConfig(robotDecareConfig);//Set cartesian parameter configuration