18.stop_python_program
停止ide中的python程序接口:
停止ide中的python程序。
Message:
json
{
"cmd": "stop_python_program",
"data": {
"version":"lite6",
"user_Id":"test",
"stopX": true
},
"id": "1"
}
\
Request:
- cmd
- string,必填,请求接口
- date
- Application/json,必填,请求数据
- id
- string,必填,请求序列号
data | 数据类型 | 必需 | 参数说明 |
---|---|---|---|
version | string | 是 | Lite6机械臂传"lite6",其他类型机械臂传空值 |
user_Id | string | 是 | 默认传test |
stopX | bool | 是 | 是否触发紧急停止 |
\
Respons:
code=0->成功;
code!=0->1111表示找不到执行的ide程序停止。
\
请求参数
无