Skip to content

start_motion_callback

1. Introduction

Open/Close the motion callback. Mainly used for the continuous motion that needs to respond after the movement is finished.

2. Request & Response

Message

json
{
  "cmd": "start_motion_callback",
    "data": {
        "is_open": false
    },
    "id": "callback_1"
}

Request

NameTypeRequired fieldsDescription
is_openboolYes

True: Open;

False: Close;

Response

code=0->success;
code!=0->Failed, refer to xarm_api_code;

Compatible with: xarm_move_joint, xarm_move_arc_line. Data report: xarm_motion_is_callback.