Concept and Application of Robot Groups and Robot Labels
Robots in a scene must belong to a specific group and can have zero or more labels. If multiple robots belong to the same group, they will inevitably have the same map, and the chassis type, robot base shape, and mechanism type in the model file will be the same. For example, a robot group can consist entirely of fork lift trucks, but it cannot have both fork lift trucks and jacks in the same group. If multiple robots have the same label, these robots do not necessarily have the same attributes. The schematic diagram of the meaning of robot groups and robot labels is shown below
When issuing a work order, you can specify or not specify a robot group or a robot label.
Example 1 is the simplest work order with a specified robot group.
{
"id": "task1", // 运单 id,需要宇宙唯一
"group": "jack", // 机器人组
"keyRoute": ["AP1"], // 关键点。用于确定派单机器人(选填)
"blocks": []
}
2
3
4
5
6
7
Example 2: Specifying Robot Tags
{
"id": "task1", // 运单 id,需要宇宙唯一
"label": "dingsheng", // 机器人标签
"keyRoute": ["AP1"], // 关键点。用于确定派单机器人(选填)
"blocks": []
}
2
3
4
5
6
7
Example 3 does not specify Robot tags and Robot groups.
{
"id": "task1", // 运单 id,需要宇宙唯一
"keyRoute": ["AP1"], // 关键点。用于确定派单机器人(选填)
"blocks": []
}
2
3
4
5
6
Error60002
Hint:
- group is invalid
Trigger condition:
- The issued Robot group is not in the scene
Solution:
- Check the issued waybill's Robot group and Robot label format
Error60014
Hint:
- no robot has label
Trigger condition:
- The issued Robot label is not in the scene
Solution:
- Check the issued waybill's Robot label
Error60013
Hint:
- label group conflict
Trigger condition:
- The issued Robot group and Robot label conflict
Solution:
- Check the issued waybill's Robot group and Robot label format
Setting Robot Labels Method
Robot labels can be added in Roboshop. On the left sidebar 'Labels' page, you can add the selected robot to the created label.
Relationship between maps of different robot groups
Although the maps of robots in different groups are not the same, they are in the same scene. Therefore, we need to align the coordinate origin and map orientation of the maps in the same area (i.e., the same floor) for different groups of robots, and the smaller the error, the better.
In different groups of robots, if the routes, workstations or storage locations in their maps have the same name, then these routes, workstations or storage locations represent the same spatial resource. For workstations and storage locations, only one robot can own this duplicate resource across multiple maps at the same time. In different groups of robots, if there are different workstations or routes in the maps, these workstations and routes can represent different spatial resources.
Map Synchronization
If there is a map in a robot group that is different from other robots, the front-end Roboshop Pro will issue a warning, and the user needs to manually synchronize the maps within the robot group to keep them consistent.