-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote
More file actions
151 lines (136 loc) · 6.06 KB
/
note
File metadata and controls
151 lines (136 loc) · 6.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!-- TAKE 2: Fill FRONT side (0) -->
<DecisionCore
ActionType="take"
RobotSideIdx="0"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- TAKE 3: Fill RIGHT side (1) -->
<DecisionCore
ActionType="take"
RobotSideIdx="1"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- TAKE 4: Fill LEFT side (3) -->
<DecisionCore
ActionType="take"
RobotSideIdx="3"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- PUT 1: Empty BACK side (2) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="2"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 2: Empty FRONT side (0) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="0"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 3: Empty RIGHT side (1) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="1"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 4: Empty LEFT side (3) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="3"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- ========== CYCLE 2: Fill 4 sides again, empty to pantries ========== -->
<!-- TAKE 5: Fill BACK side (2) -->
<DecisionCore
ActionType="take"
RobotSideIdx="2"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- TAKE 6: Fill FRONT side (0) -->
<DecisionCore
ActionType="take"
RobotSideIdx="0"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- TAKE 7: Fill RIGHT side (1) -->
<DecisionCore
ActionType="take"
RobotSideIdx="1"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- TAKE 8: Fill LEFT side (3) -->
<DecisionCore
ActionType="take"
RobotSideIdx="3"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="TakeSubTree" _autoremap="true"/>
<!-- PUT 5: Empty BACK side (2) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="2"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 6: Empty FRONT side (0) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="0"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 7: Empty RIGHT side (1) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="1"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>
<!-- PUT 8: Empty LEFT side (3) to pantry -->
<DecisionCore
ActionType="put"
RobotSideIdx="3"
nextActionType="{next_action}"
targetPoseIdx="{target_idx}"
targetPoseSideIdx="{target_side}"
targetDirection="{target_dir}"/>
<SubTree ID="PutSubTree" _autoremap="true"/>