cpee 1.5.21 → 1.5.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/index.html +2 -2
- data/cockpit/js/instance.js +6 -6
- data/cockpit/rngs/attributes.rng +2 -2
- data/cockpit/rngs/dataelements.rng +2 -2
- data/cockpit/rngs/endpoints.rng +2 -2
- data/cockpit/{testsets → templates.legacy}/Async.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/BCO.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/BCS.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Centurio.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Concurrent.xml +0 -0
- data/cockpit/testsets/Coopis Testset.xml b/data/cockpit/templates.legacy/Coopis → Testset.xml +0 -0
- data/cockpit/testsets/Endpoints and Data Manipulation.xml b/data/cockpit/templates.legacy/Endpoints and Data → Manipulation.xml +0 -0
- data/cockpit/testsets/ICSOC Testset.xml b/data/cockpit/templates.legacy/ICSOC → Testset.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Infinity.xml +0 -0
- data/cockpit/testsets/Lego Boxer.xml b/data/cockpit/templates.legacy/Lego → Boxer.xml +0 -0
- data/cockpit/testsets/Lego Conveyor.xml b/data/cockpit/templates.legacy/Lego → Conveyor.xml +0 -0
- data/cockpit/testsets/Lego Crane.xml b/data/cockpit/templates.legacy/Lego → Crane.xml +0 -0
- data/cockpit/testsets/Lego Ejector.xml b/data/cockpit/templates.legacy/Lego → Ejector.xml +0 -0
- data/cockpit/testsets/Lego Full.xml b/data/cockpit/templates.legacy/Lego → Full.xml +0 -0
- data/cockpit/testsets/Lego Liddy.xml b/data/cockpit/templates.legacy/Lego → Liddy.xml +0 -0
- data/cockpit/testsets/Lego Plate.xml b/data/cockpit/templates.legacy/Lego → Plate.xml +0 -0
- data/cockpit/testsets/Lego Transporter.xml b/data/cockpit/templates.legacy/Lego → Transporter.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Lego_Part_1.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/LgLinear.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Linear.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Log.xml +0 -0
- data/cockpit/testsets/Mangler 1.xml b/data/cockpit/templates.legacy/Mangler → 1.xml +0 -0
- data/cockpit/testsets/Mangler 2.xml b/data/cockpit/templates.legacy/Mangler → 2.xml +0 -0
- data/cockpit/testsets/Manuel Labels.xml b/data/cockpit/templates.legacy/Manuel → Labels.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Promise.xml +0 -0
- data/cockpit/testsets/SOPROMO Test Sonification.xml b/data/cockpit/templates.legacy/SOPROMO Test → Sonification.xml +0 -0
- data/cockpit/testsets/Syncing P34 1.xml b/data/cockpit/templates.legacy/Syncing P34 → 1.xml +0 -0
- data/cockpit/testsets/Syncing P34 2.xml b/data/cockpit/templates.legacy/Syncing P34 → 2.xml +0 -0
- data/cockpit/testsets/Syncing P34 3.xml b/data/cockpit/templates.legacy/Syncing P34 → 3.xml +0 -0
- data/cockpit/testsets/Syncing P34.xml b/data/cockpit/templates.legacy/Syncing → P34.xml +0 -0
- data/cockpit/testsets/TEST - Bad Loop.xml b/data/cockpit/templates.legacy/TEST - Bad → Loop.xml +0 -0
- data/cockpit/testsets/TEST - Wrong Positions.xml b/data/cockpit/templates.legacy/TEST - Wrong → Positions.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Update.xml +0 -0
- data/cockpit/testsets/Worklist Parallel.xml b/data/cockpit/templates.legacy/Worklist → Parallel.xml +0 -0
- data/cockpit/testsets/Worklist Test CPEE.xml b/data/cockpit/templates.legacy/Worklist Test → CPEE.xml +0 -0
- data/cockpit/testsets/Worklist Test.xml b/data/cockpit/templates.legacy/Worklist → Test.xml +0 -0
- data/cockpit/testsets/Worklist Test2.xml b/data/cockpit/templates.legacy/Worklist → Test2.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/convert_preset.rb +0 -0
- data/cockpit/{testsets → templates.legacy}/testsets.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/transformations.xml +0 -0
- data/cockpit/templates/BPM 2020 Manual Adjust.xml +235 -0
- data/cockpit/templates/BPM 2020 Solution Baseline.xml +250 -0
- data/cockpit/templates/BPM 2020 Solution NN.xml +243 -0
- data/cockpit/templates/BPM 2020 Solution View.xml +200 -0
- data/cockpit/templates/BPM 2020.xml +15 -0
- data/cockpit/templates/Coopis 2010.xml +76 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +80 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +80 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +80 -0
- data/cockpit/{testsets/Take_5.xml → templates/Worklist.xml} +15 -21
- data/cockpit/templates/convert_preset.rb +32 -0
- data/cockpit/templates/testsets.xml +11 -0
- data/cockpit/templates/transformations.xml +4 -0
- data/cockpit/themes/compact/rngs/call.rng +6 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/compact/theme.js +1 -1
- data/cockpit/themes/default/theme.js +1 -1
- data/cockpit/themes/extended/rngs/call.rng +6 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/extended/theme.js +7 -22
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/call.rng +6 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/packed/theme.js +1 -1
- data/cockpit/themes/preset/rngs/call.rng +6 -0
- data/cockpit/themes/preset/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/preset/theme.js +1 -1
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +1 -1
- data/lib/cpee/instantiation.rb +9 -8
- data/log/sic.rb +1 -0
- data/server/handlerwrappers/default.rb +5 -1
- data/server/resources/transformation_dslx.xsl +0 -2
- data/tools/instantiation/instantiation +1 -0
- data/tools/server/server.rb +1 -0
- metadata +55 -52
- data/cockpit/test.html +0 -40
- data/cockpit/testsets/Subprocess.xml +0 -56
- data/server/resources/notifications/logging/consumer-secret +0 -1
- data/server/resources/notifications/logging/producer-secret +0 -1
- data/server/resources/notifications/logging/subscription.xml +0 -19
- data/server/resources/test1.xml +0 -58
- data/server/resources/test2.xml +0 -60
- data/server/resources/test3.xml +0 -217
- data/server/server.pid +0 -1
@@ -0,0 +1,243 @@
|
|
1
|
+
<testset>
|
2
|
+
<dataelements>
|
3
|
+
<places xmlns="http://riddl.org/ns/common-patterns/properties/1.0">[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2]]</places>
|
4
|
+
</dataelements>
|
5
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
6
|
+
<endpoints>
|
7
|
+
<overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/overview</overview>
|
8
|
+
<move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/point</move_tool>
|
9
|
+
<move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/view</move_camera>
|
10
|
+
<get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/items</get_items_base>
|
11
|
+
<get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
12
|
+
<get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/details</get_offset_base>
|
13
|
+
<get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
14
|
+
<wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
15
|
+
<grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
16
|
+
</endpoints>
|
17
|
+
<description>
|
18
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
19
|
+
<loop mode="pre_test" condition="data.places.length > 0">
|
20
|
+
<_probability>
|
21
|
+
<_probability_min/>
|
22
|
+
<_probability_max/>
|
23
|
+
<_probability_avg/>
|
24
|
+
</_probability>
|
25
|
+
<manipulate id="a2" label="Next Place">data.place = data.places.shift</manipulate>
|
26
|
+
<call id="a1" endpoint="overview">
|
27
|
+
<parameters>
|
28
|
+
<label>Move to overview position</label>
|
29
|
+
<arguments/>
|
30
|
+
<stream>
|
31
|
+
<sensors/>
|
32
|
+
<aggregators/>
|
33
|
+
<costs/>
|
34
|
+
</stream>
|
35
|
+
</parameters>
|
36
|
+
<annotations>
|
37
|
+
<_timing>
|
38
|
+
<_timing_wait/>
|
39
|
+
<_timing_threshold/>
|
40
|
+
<_timing_min/>
|
41
|
+
<_timing_max/>
|
42
|
+
<_timing_avg/>
|
43
|
+
</_timing>
|
44
|
+
<_notes>
|
45
|
+
<_notes_general/>
|
46
|
+
</_notes>
|
47
|
+
</annotations>
|
48
|
+
</call>
|
49
|
+
<call id="a7" endpoint="wait">
|
50
|
+
<parameters>
|
51
|
+
<label>Wait for camera stream delay</label>
|
52
|
+
<method>:post</method>
|
53
|
+
<arguments>
|
54
|
+
<timeout>5</timeout>
|
55
|
+
</arguments>
|
56
|
+
<stream>
|
57
|
+
<sensors/>
|
58
|
+
<aggregators/>
|
59
|
+
<costs/>
|
60
|
+
</stream>
|
61
|
+
</parameters>
|
62
|
+
<annotations>
|
63
|
+
<_timing>
|
64
|
+
<_timing_wait/>
|
65
|
+
<_timing_threshold/>
|
66
|
+
<_timing_min/>
|
67
|
+
<_timing_max/>
|
68
|
+
<_timing_avg/>
|
69
|
+
</_timing>
|
70
|
+
<_notes>
|
71
|
+
<_notes_general/>
|
72
|
+
</_notes>
|
73
|
+
</annotations>
|
74
|
+
</call>
|
75
|
+
<call id="a3" endpoint="get_items_neural">
|
76
|
+
<parameters>
|
77
|
+
<label>Get item positions</label>
|
78
|
+
<arguments/>
|
79
|
+
<stream>
|
80
|
+
<sensors/>
|
81
|
+
<aggregators/>
|
82
|
+
<costs/>
|
83
|
+
</stream>
|
84
|
+
</parameters>
|
85
|
+
<code>
|
86
|
+
<prepare/>
|
87
|
+
<finalize output="result">data.items = result
|
88
|
+
data.item = result[0]</finalize>
|
89
|
+
<update output="result"/>
|
90
|
+
<rescue output="result"/>
|
91
|
+
</code>
|
92
|
+
<annotations>
|
93
|
+
<_timing>
|
94
|
+
<_timing_wait/>
|
95
|
+
<_timing_threshold/>
|
96
|
+
<_timing_min/>
|
97
|
+
<_timing_max/>
|
98
|
+
<_timing_avg/>
|
99
|
+
</_timing>
|
100
|
+
<_notes>
|
101
|
+
<_notes_general/>
|
102
|
+
</_notes>
|
103
|
+
</annotations>
|
104
|
+
</call>
|
105
|
+
<choose mode="exclusive">
|
106
|
+
<alternative condition="data.items.length > 0">
|
107
|
+
<call id="a5" endpoint="move_camera">
|
108
|
+
<parameters>
|
109
|
+
<label>Inspect first item</label>
|
110
|
+
<arguments>
|
111
|
+
<x>!data.item['x']</x>
|
112
|
+
<y>!data.item['y']</y>
|
113
|
+
</arguments>
|
114
|
+
<stream>
|
115
|
+
<sensors/>
|
116
|
+
<aggregators/>
|
117
|
+
<costs/>
|
118
|
+
</stream>
|
119
|
+
</parameters>
|
120
|
+
<annotations>
|
121
|
+
<_timing>
|
122
|
+
<_timing_wait/>
|
123
|
+
<_timing_threshold/>
|
124
|
+
<_timing_min/>
|
125
|
+
<_timing_max/>
|
126
|
+
<_timing_avg/>
|
127
|
+
</_timing>
|
128
|
+
<_notes>
|
129
|
+
<_notes_general/>
|
130
|
+
</_notes>
|
131
|
+
</annotations>
|
132
|
+
</call>
|
133
|
+
<call id="a4" endpoint="wait">
|
134
|
+
<parameters>
|
135
|
+
<label>Wait for camera stream delay</label>
|
136
|
+
<method>:post</method>
|
137
|
+
<arguments>
|
138
|
+
<timeout>5</timeout>
|
139
|
+
</arguments>
|
140
|
+
<stream>
|
141
|
+
<sensors/>
|
142
|
+
<aggregators/>
|
143
|
+
<costs/>
|
144
|
+
</stream>
|
145
|
+
</parameters>
|
146
|
+
<annotations>
|
147
|
+
<_timing>
|
148
|
+
<_timing_wait/>
|
149
|
+
<_timing_threshold/>
|
150
|
+
<_timing_min/>
|
151
|
+
<_timing_max/>
|
152
|
+
<_timing_avg/>
|
153
|
+
</_timing>
|
154
|
+
<_notes>
|
155
|
+
<_notes_general/>
|
156
|
+
</_notes>
|
157
|
+
</annotations>
|
158
|
+
</call>
|
159
|
+
<call id="a6" endpoint="get_offset_neural">
|
160
|
+
<parameters>
|
161
|
+
<label>Get item offset</label>
|
162
|
+
<arguments/>
|
163
|
+
<stream>
|
164
|
+
<sensors/>
|
165
|
+
<aggregators/>
|
166
|
+
<costs/>
|
167
|
+
</stream>
|
168
|
+
</parameters>
|
169
|
+
<code>
|
170
|
+
<prepare/>
|
171
|
+
<finalize output="result">data.adjusted = {
|
172
|
+
'x' => data.item['x'] + result['adjust_x'],
|
173
|
+
'y' => data.item['y'] + result['adjust_y']
|
174
|
+
}</finalize>
|
175
|
+
<update output="result"/>
|
176
|
+
<rescue output="result"/>
|
177
|
+
</code>
|
178
|
+
<annotations>
|
179
|
+
<_timing>
|
180
|
+
<_timing_wait/>
|
181
|
+
<_timing_threshold/>
|
182
|
+
<_timing_min/>
|
183
|
+
<_timing_max/>
|
184
|
+
<_timing_avg/>
|
185
|
+
</_timing>
|
186
|
+
<_notes>
|
187
|
+
<_notes_general/>
|
188
|
+
</_notes>
|
189
|
+
</annotations>
|
190
|
+
</call>
|
191
|
+
<call id="a8" endpoint="grip_and_place">
|
192
|
+
<parameters>
|
193
|
+
<label>Grip and Place</label>
|
194
|
+
<arguments>
|
195
|
+
<x>!data.adjusted['x']</x>
|
196
|
+
<y>!data.adjusted['y']</y>
|
197
|
+
<place_x>!data.place[0]</place_x>
|
198
|
+
<place_y>!data.place[1]</place_y>
|
199
|
+
</arguments>
|
200
|
+
<stream>
|
201
|
+
<sensors/>
|
202
|
+
<aggregators/>
|
203
|
+
<costs/>
|
204
|
+
</stream>
|
205
|
+
</parameters>
|
206
|
+
<annotations>
|
207
|
+
<_timing>
|
208
|
+
<_timing_wait/>
|
209
|
+
<_timing_threshold/>
|
210
|
+
<_timing_min/>
|
211
|
+
<_timing_max/>
|
212
|
+
<_timing_avg/>
|
213
|
+
</_timing>
|
214
|
+
<_notes>
|
215
|
+
<_notes_general/>
|
216
|
+
</_notes>
|
217
|
+
</annotations>
|
218
|
+
</call>
|
219
|
+
<_probability>
|
220
|
+
<_probability_min/>
|
221
|
+
<_probability_max/>
|
222
|
+
<_probability_avg/>
|
223
|
+
</_probability>
|
224
|
+
</alternative>
|
225
|
+
<otherwise>
|
226
|
+
<terminate/>
|
227
|
+
</otherwise>
|
228
|
+
</choose>
|
229
|
+
</loop>
|
230
|
+
</description>
|
231
|
+
</description>
|
232
|
+
<transformation>
|
233
|
+
<description type="copy"/>
|
234
|
+
<dataelements type="none"/>
|
235
|
+
<endpoints type="none"/>
|
236
|
+
</transformation>
|
237
|
+
<attributes>
|
238
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">BPM 2020 Solution NN</info>
|
239
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
240
|
+
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
241
|
+
<resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
|
242
|
+
</attributes>
|
243
|
+
</testset>
|
@@ -0,0 +1,200 @@
|
|
1
|
+
<testset>
|
2
|
+
<dataelements/>
|
3
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
4
|
+
<endpoints>
|
5
|
+
<overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/overview</overview>
|
6
|
+
<move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/point</move_tool>
|
7
|
+
<move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/view</move_camera>
|
8
|
+
<get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/items</get_items_base>
|
9
|
+
<get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
10
|
+
<get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/details</get_offset_base>
|
11
|
+
<get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
12
|
+
<wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
13
|
+
</endpoints>
|
14
|
+
<description>
|
15
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
16
|
+
<loop mode="pre_test" condition="true">
|
17
|
+
<_probability>
|
18
|
+
<_probability_min/>
|
19
|
+
<_probability_max/>
|
20
|
+
<_probability_avg/>
|
21
|
+
</_probability>
|
22
|
+
<call id="a1" endpoint="overview">
|
23
|
+
<parameters>
|
24
|
+
<label>Move to overview position</label>
|
25
|
+
<arguments/>
|
26
|
+
<stream>
|
27
|
+
<sensors/>
|
28
|
+
<aggregators/>
|
29
|
+
<costs/>
|
30
|
+
</stream>
|
31
|
+
</parameters>
|
32
|
+
<annotations>
|
33
|
+
<_timing>
|
34
|
+
<_timing_wait/>
|
35
|
+
<_timing_threshold/>
|
36
|
+
<_timing_min/>
|
37
|
+
<_timing_max/>
|
38
|
+
<_timing_avg/>
|
39
|
+
</_timing>
|
40
|
+
<_notes>
|
41
|
+
<_notes_general/>
|
42
|
+
</_notes>
|
43
|
+
</annotations>
|
44
|
+
</call>
|
45
|
+
<call id="a7" endpoint="wait">
|
46
|
+
<parameters>
|
47
|
+
<label>Wait for camera stream delay</label>
|
48
|
+
<method>:post</method>
|
49
|
+
<arguments>
|
50
|
+
<timeout>5</timeout>
|
51
|
+
</arguments>
|
52
|
+
<stream>
|
53
|
+
<sensors/>
|
54
|
+
<aggregators/>
|
55
|
+
<costs/>
|
56
|
+
</stream>
|
57
|
+
</parameters>
|
58
|
+
<annotations>
|
59
|
+
<_timing>
|
60
|
+
<_timing_wait/>
|
61
|
+
<_timing_threshold/>
|
62
|
+
<_timing_min/>
|
63
|
+
<_timing_max/>
|
64
|
+
<_timing_avg/>
|
65
|
+
</_timing>
|
66
|
+
<_notes>
|
67
|
+
<_notes_general/>
|
68
|
+
</_notes>
|
69
|
+
</annotations>
|
70
|
+
</call>
|
71
|
+
<call id="a3" endpoint="get_items_neural">
|
72
|
+
<parameters>
|
73
|
+
<label>Get item positions</label>
|
74
|
+
<arguments/>
|
75
|
+
<stream>
|
76
|
+
<sensors/>
|
77
|
+
<aggregators/>
|
78
|
+
<costs/>
|
79
|
+
</stream>
|
80
|
+
</parameters>
|
81
|
+
<code>
|
82
|
+
<prepare/>
|
83
|
+
<finalize output="result">data.items = result
|
84
|
+
data.item = result[0]</finalize>
|
85
|
+
<update output="result"/>
|
86
|
+
<rescue output="result"/>
|
87
|
+
</code>
|
88
|
+
<annotations>
|
89
|
+
<_timing>
|
90
|
+
<_timing_wait/>
|
91
|
+
<_timing_threshold/>
|
92
|
+
<_timing_min/>
|
93
|
+
<_timing_max/>
|
94
|
+
<_timing_avg/>
|
95
|
+
</_timing>
|
96
|
+
<_notes>
|
97
|
+
<_notes_general/>
|
98
|
+
</_notes>
|
99
|
+
</annotations>
|
100
|
+
</call>
|
101
|
+
<call id="a5" endpoint="move_camera">
|
102
|
+
<parameters>
|
103
|
+
<label>Inspect first item</label>
|
104
|
+
<arguments>
|
105
|
+
<x>!data.item['x']</x>
|
106
|
+
<y>!data.item['y']</y>
|
107
|
+
</arguments>
|
108
|
+
<stream>
|
109
|
+
<sensors/>
|
110
|
+
<aggregators/>
|
111
|
+
<costs/>
|
112
|
+
</stream>
|
113
|
+
</parameters>
|
114
|
+
<annotations>
|
115
|
+
<_timing>
|
116
|
+
<_timing_wait/>
|
117
|
+
<_timing_threshold/>
|
118
|
+
<_timing_min/>
|
119
|
+
<_timing_max/>
|
120
|
+
<_timing_avg/>
|
121
|
+
</_timing>
|
122
|
+
<_notes>
|
123
|
+
<_notes_general/>
|
124
|
+
</_notes>
|
125
|
+
</annotations>
|
126
|
+
</call>
|
127
|
+
<call id="a4" endpoint="wait">
|
128
|
+
<parameters>
|
129
|
+
<label>Wait for camera stream delay</label>
|
130
|
+
<method>:post</method>
|
131
|
+
<arguments>
|
132
|
+
<timeout>5</timeout>
|
133
|
+
</arguments>
|
134
|
+
<stream>
|
135
|
+
<sensors/>
|
136
|
+
<aggregators/>
|
137
|
+
<costs/>
|
138
|
+
</stream>
|
139
|
+
</parameters>
|
140
|
+
<annotations>
|
141
|
+
<_timing>
|
142
|
+
<_timing_wait/>
|
143
|
+
<_timing_threshold/>
|
144
|
+
<_timing_min/>
|
145
|
+
<_timing_max/>
|
146
|
+
<_timing_avg/>
|
147
|
+
</_timing>
|
148
|
+
<_notes>
|
149
|
+
<_notes_general/>
|
150
|
+
</_notes>
|
151
|
+
</annotations>
|
152
|
+
</call>
|
153
|
+
<call id="a6" endpoint="get_offset_neural">
|
154
|
+
<parameters>
|
155
|
+
<label>Get item offset</label>
|
156
|
+
<arguments/>
|
157
|
+
<stream>
|
158
|
+
<sensors/>
|
159
|
+
<aggregators/>
|
160
|
+
<costs/>
|
161
|
+
</stream>
|
162
|
+
</parameters>
|
163
|
+
<code>
|
164
|
+
<prepare/>
|
165
|
+
<finalize output="result">data.adjusted = {
|
166
|
+
'x' => data.item['x'] + result['adjust_x'],
|
167
|
+
'y' => data.item['y'] + result['adjust_y']
|
168
|
+
}</finalize>
|
169
|
+
<update output="result"/>
|
170
|
+
<rescue output="result"/>
|
171
|
+
</code>
|
172
|
+
<annotations>
|
173
|
+
<_timing>
|
174
|
+
<_timing_wait/>
|
175
|
+
<_timing_threshold/>
|
176
|
+
<_timing_min/>
|
177
|
+
<_timing_max/>
|
178
|
+
<_timing_avg/>
|
179
|
+
</_timing>
|
180
|
+
<_notes>
|
181
|
+
<_notes_general/>
|
182
|
+
</_notes>
|
183
|
+
</annotations>
|
184
|
+
</call>
|
185
|
+
<stop id="a2"/>
|
186
|
+
</loop>
|
187
|
+
</description>
|
188
|
+
</description>
|
189
|
+
<transformation>
|
190
|
+
<description type="copy"/>
|
191
|
+
<dataelements type="none"/>
|
192
|
+
<endpoints type="none"/>
|
193
|
+
</transformation>
|
194
|
+
<attributes>
|
195
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">BPM 2020 Solution View</info>
|
196
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
197
|
+
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
198
|
+
<resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
|
199
|
+
</attributes>
|
200
|
+
</testset>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<testset>
|
2
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
3
|
+
<endpoints>
|
4
|
+
<overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/overview</overview>
|
5
|
+
<move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/point</move_tool>
|
6
|
+
<move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/position/view</move_camera>
|
7
|
+
<get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/items</get_items_base>
|
8
|
+
<get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
9
|
+
<get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://tango.wst.univie.ac.at:9329/view/details</get_offset_base>
|
10
|
+
<get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
11
|
+
<wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
12
|
+
<grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://tango.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
13
|
+
<subprocess xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9296/url/</subprocess>
|
14
|
+
</endpoints>
|
15
|
+
</testset>
|