28.xarm_set_user_config
1. Introduction
Setting Auxiliary Function Information Interface.
Sets auxiliary function information.
2.Request & Response
Message
Set modbusRS-485 port as robotic arm, attitude control mode as axis angle, attitude display mode as axis angle, fast copy as on
{
"cmd": "xarm_set_user_config",
"data": {
"isRobotArm": true,
"isAxisAngle": true,
"isShowAxisAngle": true,
"quickCopySwitch": true
},
"id": "1"
}
Request
data | type | Required filed | Description | example value |
isRobotArm | Bool | no | Whether the modbusRS-485 port is a robotic arm, yes is true, no is false | true |
isAxisAngle | Bool | no | Whether the attitude control mode is axis angle, yes is true, no is false. | true |
isShowAxisAngle | Bool | no | Whether the attitude display mode is axis angle, yes is true, no is false. | true |
quickCopySwitch | Bool | no | Fast copying is true for on, false for no. | true |
Response:
code=0->Success;
code!=0->Failed, refer to xarm_api_code;