QueueTaskInfo
Queue task information
Attributes
| Name | Data Type | Description |
|---|---|---|
businessId |
string | Business identifier; the task will be added to the task queue of this business |
botSn |
string | Robot SN; if set, the task will only be assigned to the designated robot |
content |
TaskInfo | Task content; task-related detailed information, the specific content is defined by the business (see below) |
Note
At least one of businessId and botSn must be provided.
Task information (TaskInfo)
Attributes
| Name | Data Type | Description |
|---|---|---|
name |
string | Task name |
robotId |
string | Robot identifier |
runNum |
number | Number of task executions. Default is 1; 0 indicates infinite loop |
taskType |
number | Task type: 0 - Disinfection, 1 - Return to charging station, 2 - Restaurant |
runType |
number | Run type: 0 - Scheduled disinfection, 1 - Ad hoc disinfection, 20 - Quick meal delivery, 21 - Multi-point meal delivery, 22 - Guidance, 23 - Patrol, 24 - Return, 25 - Charging station |
curPt |
TaskPoint | Robot current position |
pts |
TaskPoint[] | List of task nodes |
backPt |
TaskPoint | optional; the node to return after the task ends |