18.stop_python_program
Stop python program interface in ide:
Stop the python program in ide.
Message:
json
{
"cmd": "stop_python_program",
"data": {
"version":"lite6",
"user_Id":"test",
"stopX": true
},
"id": "1"
}\
Request:
| data | type | Required fields | Description |
|---|---|---|---|
| version | string | yes | Lite6 arm passes “lite6”, other types pass null |
| user_Id | string | yes | Default pass test |
| stopX | bool | yes | Whether to trigger an emergency stop |
\
Respons:
code=0->Success;
code!=0->
1111 indicates that the ide program stop that could not be found for execution.\