14.xarm_set_bio_gripper_pos_force
Control of Xarm Bio gripper position and clamping force
Message
json
{
"cmd": "xarm_set_bio_gripper_pos_force",
"data": {
"pos": "150",
"speed": "3000",
"force": "100",
"wait": false
},
"id": "1"
}
Request:
data | type | Required fields | Description | Example value |
---|---|---|---|---|
pos | String | yes | Set the position of the Bio gripper | 150(71~150) |
speed | String | yes | Set the speed of the Bio gripper | 3000(1~4500) |
force | String | yes | Set the gripping force of the bio gripper | 100(10~100) |
wait | bool | yes | Set whether to wait for the bio gripper | false |
Response
code=0->success;
code!=0->Failed, refer to xarm_api_code;