API 列表

请求

编号 名称 描述
3001 robot_task_pause_req 暂停当前任务
3002 robot_task_resume_req 继续当前任务
3003 robot_task_cancel_req 取消当前任务
3050 robot_task_gopoint_req 自由导航(根据地图上的坐标值或站点自由规划路径导航)
3051 robot_task_gotarget_req 固定路径导航(根据地图上站点及固定路径导航)
3052 robot_task_patrol_req 巡检(设定路线进行固定路径导航)
3055 robot_task_translate_req 平动,以固定速度直线运动固定距离
3056 robot_task_turn_req 转动,以固定角速度旋转固定角度
3057 robot_task_gostart_req 去起始点
3058 robot_task_goend_req 去终止点
3059 robot_task_gowait_req 去待命点
3060 robot_task_charge_req 去充电
3100 robot_tasklist_req 执行任务链
3101 robot_tasklist_status_req 任务链状态
3102 robot_tasklist_pause_req 任务链暂停
3103 robot_tasklist_resume_req 任务链继续
3104 robot_tasklist_cancel_req 任务链取消
3105 robot_tasklist_next_req 任务链Next
3106 robot_tasklist_name_req 执行预存的任务链
3110 robot_tasklist_result_req 任务链结果
3111 robot_tasklist_result_list_req 任务链结果清单
3112 robot_tasklist_upload_req 任务链上传
3113 robot_tasklist_download_req 任务链下载
3114 robot_tasklist_delete_req 任务链删除
3115 robot_tasklist_list_req 任务链清单

注: 3055 和 3056 不能同时进行

响应

机器人任务 API 的会立即响应给客户端,不会等待机器人执行任务。若 ret_code 不存在或为 0,说明任务将被执行,但并不表示任务已经执行完毕了,用户需要通过机器人状态 API (1020) 查询任务的状态。机器人某一时刻只能有一个任务,新的任务指令将会打断之前的任务。

编号 名称 描述
13001 robot_task_pause_res 对 3001 请求的响应
13002 robot_task_resume_res 对 3002 请求的响应
13003 robot_task_cancel_res 对 3003 请求的响应
13050 robot_task_gopoint_res 对 3050 请求的响应
13051 robot_task_gotarget_res 对 3051 请求的响应
13052 robot_task_patrol_res 对 3052 请求的响应
13055 robot_task_translate_res 对 3055 请求的响应
13056 robot_task_turn_res 对 3056 请求的响应
13057 robot_task_gostart_res 对 3057 请求的响应
13058 robot_task_goend_res 对 3058 请求的响应
13059 robot_task_gowait_res 对 3059 请求的响应
13060 robot_task_charge_res 对 3060 请求的响应
13100 robot_tasklist_res 对 3100 请求的响应
13101 robot_tasklist_status_res 对 3101 请求的响应
13102 robot_tasklist_pause_res 对 3102 请求的响应
13103 robot_tasklist_resume_res 对 3103 请求的响应
13104 robot_tasklist_cancel_res 对 3104 请求的响应
13105 robot_tasklist_next_res 对 3105 请求的响应
13106 robot_tasklist_name_res 对 3106 请求的响应
13110 robot_tasklist_result_res 对 3110 请求的响应
13111 robot_tasklist_result_list_res 对 3111 请求的响应
13112 robot_tasklist_upload_res 对 3112 请求的响应
13113 robot_tasklist_download_res 对 3113 请求的响应
13114 robot_tasklist_delete_res 对 3114 请求的响应
13115 robot_tasklist_list_res 对 3115 请求的响应

results matching ""

    No results matching ""