start_motion_callback
1. 接口概述
打开/关闭运动回调。 主要用于需要在运动结束后做出响应的连续运动。
2. Request & Response
Message
json
{
"cmd": "start_motion_callback",
"data": {
"is_open": false
},
"id": "callback_1"
}
Request
Name | Type | Required fields | Description |
---|---|---|---|
is_open | bool | Yes | True: 打开; False:关闭 ; |
Response
code=0->成功
code!=0->失败,详情参考xArm_Python_SDK/xarm_api_code.md文档。
适用于: xarm_move_joint, xarm_move_arc_line. 数据上报: xarm_motion_is_callback.