@digipair/skill-mybuddy 0.32.7 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.en.json +0 -1282
package/package.json
CHANGED
package/schema.en.json
DELETED
|
@@ -1,1282 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "@digipair/skill-mybuddy",
|
|
5
|
-
"summary": "Management of a myBuddy robot",
|
|
6
|
-
"description": "This skill allows you to manage an elephant robotics myBuddy robot.",
|
|
7
|
-
"version": "0.1.0",
|
|
8
|
-
"x-icon": "🤖"
|
|
9
|
-
},
|
|
10
|
-
"paths": {
|
|
11
|
-
"/sendAngles": {
|
|
12
|
-
"post": {
|
|
13
|
-
"tags": ["service"],
|
|
14
|
-
"summary": "Sends the list of angles",
|
|
15
|
-
"parameters": [
|
|
16
|
-
{
|
|
17
|
-
"name": "device",
|
|
18
|
-
"summary": "Device identifier",
|
|
19
|
-
"required": true,
|
|
20
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
21
|
-
"schema": {
|
|
22
|
-
"type": "number"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "angles",
|
|
27
|
-
"summary": "List of angles",
|
|
28
|
-
"required": true,
|
|
29
|
-
"description": "List of angles to send",
|
|
30
|
-
"schema": {
|
|
31
|
-
"type": "array",
|
|
32
|
-
"items": {
|
|
33
|
-
"type": "number"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "speed",
|
|
39
|
-
"summary": "Speed",
|
|
40
|
-
"required": false,
|
|
41
|
-
"description": "Movement speed",
|
|
42
|
-
"schema": {
|
|
43
|
-
"type": "number"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"x-events": []
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"/getAngles": {
|
|
51
|
-
"post": {
|
|
52
|
-
"tags": ["service"],
|
|
53
|
-
"summary": "Retrieves the list of angles",
|
|
54
|
-
"parameters": [
|
|
55
|
-
{
|
|
56
|
-
"name": "device",
|
|
57
|
-
"summary": "Device identifier",
|
|
58
|
-
"required": true,
|
|
59
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
60
|
-
"schema": {
|
|
61
|
-
"type": "number"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"x-events": []
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"/powerOn": {
|
|
69
|
-
"post": {
|
|
70
|
-
"tags": ["service"],
|
|
71
|
-
"summary": "Turns on all servos",
|
|
72
|
-
"parameters": [
|
|
73
|
-
{
|
|
74
|
-
"name": "device",
|
|
75
|
-
"summary": "Device identifier",
|
|
76
|
-
"required": true,
|
|
77
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
78
|
-
"schema": {
|
|
79
|
-
"type": "number"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"x-events": []
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"/powerOff": {
|
|
87
|
-
"post": {
|
|
88
|
-
"tags": ["service"],
|
|
89
|
-
"summary": "Turns off all servos",
|
|
90
|
-
"parameters": [
|
|
91
|
-
{
|
|
92
|
-
"name": "device",
|
|
93
|
-
"summary": "Device identifier",
|
|
94
|
-
"required": true,
|
|
95
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
96
|
-
"schema": {
|
|
97
|
-
"type": "number"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"x-events": []
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"/releaseAllServos": {
|
|
105
|
-
"post": {
|
|
106
|
-
"tags": ["service"],
|
|
107
|
-
"summary": "Releases all servos",
|
|
108
|
-
"parameters": [
|
|
109
|
-
{
|
|
110
|
-
"name": "device",
|
|
111
|
-
"summary": "Device identifier",
|
|
112
|
-
"required": true,
|
|
113
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
114
|
-
"schema": {
|
|
115
|
-
"type": "number"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"x-events": []
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"/sendAngle": {
|
|
123
|
-
"post": {
|
|
124
|
-
"tags": ["service"],
|
|
125
|
-
"summary": "Sends a specific angle",
|
|
126
|
-
"parameters": [
|
|
127
|
-
{
|
|
128
|
-
"name": "device",
|
|
129
|
-
"summary": "Device identifier",
|
|
130
|
-
"required": true,
|
|
131
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
132
|
-
"schema": {
|
|
133
|
-
"type": "number"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "id",
|
|
138
|
-
"summary": "Servo identifier",
|
|
139
|
-
"required": true,
|
|
140
|
-
"description": "Identifier of the concerned servo",
|
|
141
|
-
"schema": {
|
|
142
|
-
"type": "number"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"name": "degree",
|
|
147
|
-
"summary": "Angle",
|
|
148
|
-
"required": true,
|
|
149
|
-
"description": "Angle to send",
|
|
150
|
-
"schema": {
|
|
151
|
-
"type": "number"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "speed",
|
|
156
|
-
"summary": "Speed",
|
|
157
|
-
"required": false,
|
|
158
|
-
"description": "Movement speed",
|
|
159
|
-
"schema": {
|
|
160
|
-
"type": "number"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"x-events": []
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"/sendCoord": {
|
|
168
|
-
"post": {
|
|
169
|
-
"tags": ["service"],
|
|
170
|
-
"summary": "Sends coordinates",
|
|
171
|
-
"parameters": [
|
|
172
|
-
{
|
|
173
|
-
"name": "device",
|
|
174
|
-
"summary": "Device identifier",
|
|
175
|
-
"required": true,
|
|
176
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
177
|
-
"schema": {
|
|
178
|
-
"type": "number"
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "id",
|
|
183
|
-
"summary": "Coordinate to modify",
|
|
184
|
-
"required": true,
|
|
185
|
-
"description": "Identifier of the coordinate to send",
|
|
186
|
-
"schema": {
|
|
187
|
-
"type": "number"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "coord",
|
|
192
|
-
"summary": "Value",
|
|
193
|
-
"required": true,
|
|
194
|
-
"description": "Value of the coordinate to send",
|
|
195
|
-
"schema": {
|
|
196
|
-
"type": "number"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"name": "speed",
|
|
201
|
-
"summary": "Speed",
|
|
202
|
-
"required": false,
|
|
203
|
-
"description": "Movement speed",
|
|
204
|
-
"schema": {
|
|
205
|
-
"type": "number"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
],
|
|
209
|
-
"x-events": []
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"/sendCoords": {
|
|
213
|
-
"post": {
|
|
214
|
-
"tags": ["service"],
|
|
215
|
-
"summary": "Sends coordinates",
|
|
216
|
-
"parameters": [
|
|
217
|
-
{
|
|
218
|
-
"name": "device",
|
|
219
|
-
"summary": "Device identifier",
|
|
220
|
-
"required": true,
|
|
221
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
222
|
-
"schema": {
|
|
223
|
-
"type": "number"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "coords",
|
|
228
|
-
"summary": "List of coordinates",
|
|
229
|
-
"required": true,
|
|
230
|
-
"description": "List of coordinates to send",
|
|
231
|
-
"schema": {
|
|
232
|
-
"type": "array",
|
|
233
|
-
"items": {
|
|
234
|
-
"type": "number"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "speed",
|
|
240
|
-
"summary": "Speed",
|
|
241
|
-
"required": false,
|
|
242
|
-
"description": "Movement speed",
|
|
243
|
-
"schema": {
|
|
244
|
-
"type": "number"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "mode",
|
|
249
|
-
"summary": "Mode",
|
|
250
|
-
"required": false,
|
|
251
|
-
"description": "Movement mode",
|
|
252
|
-
"schema": {
|
|
253
|
-
"type": "string"
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"x-events": []
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"/programPause": {
|
|
261
|
-
"post": {
|
|
262
|
-
"tags": ["service"],
|
|
263
|
-
"summary": "Pauses the program",
|
|
264
|
-
"parameters": [
|
|
265
|
-
{
|
|
266
|
-
"name": "device",
|
|
267
|
-
"summary": "Device identifier",
|
|
268
|
-
"required": true,
|
|
269
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
270
|
-
"schema": {
|
|
271
|
-
"type": "number"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
"x-events": []
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"/programResume": {
|
|
279
|
-
"post": {
|
|
280
|
-
"tags": ["service"],
|
|
281
|
-
"summary": "Resumes the program",
|
|
282
|
-
"parameters": [
|
|
283
|
-
{
|
|
284
|
-
"name": "device",
|
|
285
|
-
"summary": "Device identifier",
|
|
286
|
-
"required": true,
|
|
287
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
288
|
-
"schema": {
|
|
289
|
-
"type": "number"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
],
|
|
293
|
-
"x-events": []
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"/stop": {
|
|
297
|
-
"post": {
|
|
298
|
-
"tags": ["service"],
|
|
299
|
-
"summary": "Stops the program",
|
|
300
|
-
"parameters": [
|
|
301
|
-
{
|
|
302
|
-
"name": "device",
|
|
303
|
-
"summary": "Device identifier",
|
|
304
|
-
"required": true,
|
|
305
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
306
|
-
"schema": {
|
|
307
|
-
"type": "number"
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
],
|
|
311
|
-
"x-events": []
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
"/jogAngle": {
|
|
315
|
-
"post": {
|
|
316
|
-
"tags": ["service"],
|
|
317
|
-
"summary": "Moves a specific angle",
|
|
318
|
-
"parameters": [
|
|
319
|
-
{
|
|
320
|
-
"name": "device",
|
|
321
|
-
"summary": "Device identifier",
|
|
322
|
-
"required": true,
|
|
323
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
324
|
-
"schema": {
|
|
325
|
-
"type": "number"
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"name": "joint_id",
|
|
330
|
-
"summary": "Joint identifier",
|
|
331
|
-
"required": true,
|
|
332
|
-
"description": "Identifier of the concerned joint",
|
|
333
|
-
"schema": {
|
|
334
|
-
"type": "number"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "direction",
|
|
339
|
-
"summary": "Direction",
|
|
340
|
-
"required": true,
|
|
341
|
-
"description": "Direction of movement",
|
|
342
|
-
"schema": {
|
|
343
|
-
"type": "string"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "speed",
|
|
348
|
-
"summary": "Speed",
|
|
349
|
-
"required": false,
|
|
350
|
-
"description": "Movement speed",
|
|
351
|
-
"schema": {
|
|
352
|
-
"type": "number"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"x-events": []
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
"/jogCoord": {
|
|
360
|
-
"post": {
|
|
361
|
-
"tags": ["service"],
|
|
362
|
-
"summary": "Moves a specific coordinate",
|
|
363
|
-
"parameters": [
|
|
364
|
-
{
|
|
365
|
-
"name": "device",
|
|
366
|
-
"summary": "Device identifier",
|
|
367
|
-
"required": true,
|
|
368
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
369
|
-
"schema": {
|
|
370
|
-
"type": "number"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "coord_id",
|
|
375
|
-
"summary": "Coordinate identifier",
|
|
376
|
-
"required": true,
|
|
377
|
-
"description": "Identifier of the concerned coordinate",
|
|
378
|
-
"schema": {
|
|
379
|
-
"type": "number"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"name": "direction",
|
|
384
|
-
"summary": "Direction",
|
|
385
|
-
"required": true,
|
|
386
|
-
"description": "Direction of movement",
|
|
387
|
-
"schema": {
|
|
388
|
-
"type": "string"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"name": "speed",
|
|
393
|
-
"summary": "Speed",
|
|
394
|
-
"required": false,
|
|
395
|
-
"description": "Movement speed",
|
|
396
|
-
"schema": {
|
|
397
|
-
"type": "number"
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"x-events": []
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
"/jogStop": {
|
|
405
|
-
"post": {
|
|
406
|
-
"tags": ["service"],
|
|
407
|
-
"summary": "Stops the movement",
|
|
408
|
-
"parameters": [
|
|
409
|
-
{
|
|
410
|
-
"name": "device",
|
|
411
|
-
"summary": "Device identifier",
|
|
412
|
-
"required": true,
|
|
413
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
414
|
-
"schema": {
|
|
415
|
-
"type": "number"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"x-events": []
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
"/setEncoder": {
|
|
423
|
-
"post": {
|
|
424
|
-
"tags": ["service"],
|
|
425
|
-
"summary": "Sets an encoder value",
|
|
426
|
-
"parameters": [
|
|
427
|
-
{
|
|
428
|
-
"name": "device",
|
|
429
|
-
"summary": "Device identifier",
|
|
430
|
-
"required": true,
|
|
431
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
432
|
-
"schema": {
|
|
433
|
-
"type": "number"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"name": "joint_id",
|
|
438
|
-
"summary": "Joint identifier",
|
|
439
|
-
"required": true,
|
|
440
|
-
"description": "Identifier of the concerned joint",
|
|
441
|
-
"schema": {
|
|
442
|
-
"type": "number"
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"name": "encoder",
|
|
447
|
-
"summary": "Encoder value",
|
|
448
|
-
"required": true,
|
|
449
|
-
"description": "Value of the encoder to set",
|
|
450
|
-
"schema": {
|
|
451
|
-
"type": "number"
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
],
|
|
455
|
-
"x-events": []
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
"/setEncoders": {
|
|
459
|
-
"post": {
|
|
460
|
-
"tags": ["service"],
|
|
461
|
-
"summary": "Sets the encoder values",
|
|
462
|
-
"parameters": [
|
|
463
|
-
{
|
|
464
|
-
"name": "device",
|
|
465
|
-
"summary": "Device identifier",
|
|
466
|
-
"required": true,
|
|
467
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
468
|
-
"schema": {
|
|
469
|
-
"type": "number"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "encoders",
|
|
474
|
-
"summary": "List of encoder values",
|
|
475
|
-
"required": true,
|
|
476
|
-
"description": "List of encoder values to set",
|
|
477
|
-
"schema": {
|
|
478
|
-
"type": "array",
|
|
479
|
-
"items": {
|
|
480
|
-
"type": "number"
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"name": "speed",
|
|
486
|
-
"summary": "Speed",
|
|
487
|
-
"required": false,
|
|
488
|
-
"description": "Movement speed",
|
|
489
|
-
"schema": {
|
|
490
|
-
"type": "number"
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
],
|
|
494
|
-
"x-events": []
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
"/setSpeed": {
|
|
498
|
-
"post": {
|
|
499
|
-
"tags": ["service"],
|
|
500
|
-
"summary": "Sets the speed",
|
|
501
|
-
"parameters": [
|
|
502
|
-
{
|
|
503
|
-
"name": "device",
|
|
504
|
-
"summary": "Device identifier",
|
|
505
|
-
"required": true,
|
|
506
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
507
|
-
"schema": {
|
|
508
|
-
"type": "number"
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"name": "speed",
|
|
513
|
-
"summary": "Speed",
|
|
514
|
-
"required": true,
|
|
515
|
-
"description": "Speed to set",
|
|
516
|
-
"schema": {
|
|
517
|
-
"type": "number"
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
],
|
|
521
|
-
"x-events": []
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
"/setServoData": {
|
|
525
|
-
"post": {
|
|
526
|
-
"tags": ["service"],
|
|
527
|
-
"summary": "Sets servo data",
|
|
528
|
-
"parameters": [
|
|
529
|
-
{
|
|
530
|
-
"name": "device",
|
|
531
|
-
"summary": "Device identifier",
|
|
532
|
-
"required": true,
|
|
533
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
534
|
-
"schema": {
|
|
535
|
-
"type": "number"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"name": "servo_no",
|
|
540
|
-
"summary": "Servo number",
|
|
541
|
-
"required": true,
|
|
542
|
-
"description": "Number of the concerned servo",
|
|
543
|
-
"schema": {
|
|
544
|
-
"type": "number"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "data_id",
|
|
549
|
-
"summary": "Data identifier",
|
|
550
|
-
"required": true,
|
|
551
|
-
"description": "Identifier of the data to set",
|
|
552
|
-
"schema": {
|
|
553
|
-
"type": "number"
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"name": "value",
|
|
558
|
-
"summary": "Value",
|
|
559
|
-
"required": true,
|
|
560
|
-
"description": "Value to set",
|
|
561
|
-
"schema": {
|
|
562
|
-
"type": "number"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"x-events": []
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
"/setServoCalibration": {
|
|
570
|
-
"post": {
|
|
571
|
-
"tags": ["service"],
|
|
572
|
-
"summary": "Sets the calibration of a servo",
|
|
573
|
-
"parameters": [
|
|
574
|
-
{
|
|
575
|
-
"name": "device",
|
|
576
|
-
"summary": "Device identifier",
|
|
577
|
-
"required": true,
|
|
578
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
579
|
-
"schema": {
|
|
580
|
-
"type": "number"
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "servo_no",
|
|
585
|
-
"summary": "Servo number",
|
|
586
|
-
"required": true,
|
|
587
|
-
"description": "Number of the concerned servo",
|
|
588
|
-
"schema": {
|
|
589
|
-
"type": "number"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
"x-events": []
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"/releaseServo": {
|
|
597
|
-
"post": {
|
|
598
|
-
"tags": ["service"],
|
|
599
|
-
"summary": "Releases a specific servo",
|
|
600
|
-
"parameters": [
|
|
601
|
-
{
|
|
602
|
-
"name": "device",
|
|
603
|
-
"summary": "Device identifier",
|
|
604
|
-
"required": true,
|
|
605
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
606
|
-
"schema": {
|
|
607
|
-
"type": "number"
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"name": "servo_no",
|
|
612
|
-
"summary": "Servo number",
|
|
613
|
-
"required": true,
|
|
614
|
-
"description": "Number of the concerned servo",
|
|
615
|
-
"schema": {
|
|
616
|
-
"type": "number"
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
],
|
|
620
|
-
"x-events": []
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
"/focusServo": {
|
|
624
|
-
"post": {
|
|
625
|
-
"tags": ["service"],
|
|
626
|
-
"summary": "Activates a specific servo",
|
|
627
|
-
"parameters": [
|
|
628
|
-
{
|
|
629
|
-
"name": "device",
|
|
630
|
-
"summary": "Device identifier",
|
|
631
|
-
"required": true,
|
|
632
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
633
|
-
"schema": {
|
|
634
|
-
"type": "number"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "servo_no",
|
|
639
|
-
"summary": "Servo number",
|
|
640
|
-
"required": true,
|
|
641
|
-
"description": "Number of the concerned servo",
|
|
642
|
-
"schema": {
|
|
643
|
-
"type": "number"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
],
|
|
647
|
-
"x-events": []
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"/setPinMode": {
|
|
651
|
-
"post": {
|
|
652
|
-
"tags": ["service"],
|
|
653
|
-
"summary": "Sets the mode of a pin",
|
|
654
|
-
"parameters": [
|
|
655
|
-
{
|
|
656
|
-
"name": "device",
|
|
657
|
-
"summary": "Device identifier",
|
|
658
|
-
"required": true,
|
|
659
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
660
|
-
"schema": {
|
|
661
|
-
"type": "number"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"name": "pin_no",
|
|
666
|
-
"summary": "Pin number",
|
|
667
|
-
"required": true,
|
|
668
|
-
"description": "Number of the concerned pin",
|
|
669
|
-
"schema": {
|
|
670
|
-
"type": "number"
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"name": "pin_mode",
|
|
675
|
-
"summary": "Pin mode",
|
|
676
|
-
"required": true,
|
|
677
|
-
"description": "Mode of the pin to set",
|
|
678
|
-
"schema": {
|
|
679
|
-
"type": "string"
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
],
|
|
683
|
-
"x-events": []
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
"/setDigitalOutput": {
|
|
687
|
-
"post": {
|
|
688
|
-
"tags": ["service"],
|
|
689
|
-
"summary": "Sets the digital output of a pin",
|
|
690
|
-
"parameters": [
|
|
691
|
-
{
|
|
692
|
-
"name": "device",
|
|
693
|
-
"summary": "Device identifier",
|
|
694
|
-
"required": true,
|
|
695
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
696
|
-
"schema": {
|
|
697
|
-
"type": "number"
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"name": "pin_no",
|
|
702
|
-
"summary": "Pin number",
|
|
703
|
-
"required": true,
|
|
704
|
-
"description": "Number of the concerned pin",
|
|
705
|
-
"schema": {
|
|
706
|
-
"type": "number"
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"name": "pin_signal",
|
|
711
|
-
"summary": "Pin signal",
|
|
712
|
-
"required": true,
|
|
713
|
-
"description": "Signal of the pin to set",
|
|
714
|
-
"schema": {
|
|
715
|
-
"type": "number"
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
],
|
|
719
|
-
"x-events": []
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
"/setGripperState": {
|
|
723
|
-
"post": {
|
|
724
|
-
"tags": ["service"],
|
|
725
|
-
"summary": "Sets the state of the gripper",
|
|
726
|
-
"parameters": [
|
|
727
|
-
{
|
|
728
|
-
"name": "device",
|
|
729
|
-
"summary": "Device identifier",
|
|
730
|
-
"required": true,
|
|
731
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
732
|
-
"schema": {
|
|
733
|
-
"type": "number"
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"name": "flag",
|
|
738
|
-
"summary": "Gripper state",
|
|
739
|
-
"required": true,
|
|
740
|
-
"description": "State of the gripper to set",
|
|
741
|
-
"schema": {
|
|
742
|
-
"type": "boolean"
|
|
743
|
-
}
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"name": "speed",
|
|
747
|
-
"summary": "Speed",
|
|
748
|
-
"required": false,
|
|
749
|
-
"description": "Movement speed",
|
|
750
|
-
"schema": {
|
|
751
|
-
"type": "number"
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
],
|
|
755
|
-
"x-events": []
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"/setGripperValue": {
|
|
759
|
-
"post": {
|
|
760
|
-
"tags": ["service"],
|
|
761
|
-
"summary": "Sets the value of the gripper",
|
|
762
|
-
"parameters": [
|
|
763
|
-
{
|
|
764
|
-
"name": "device",
|
|
765
|
-
"summary": "Device identifier",
|
|
766
|
-
"required": true,
|
|
767
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
768
|
-
"schema": {
|
|
769
|
-
"type": "number"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "value",
|
|
774
|
-
"summary": "Gripper value",
|
|
775
|
-
"required": true,
|
|
776
|
-
"description": "Value of the gripper to set",
|
|
777
|
-
"schema": {
|
|
778
|
-
"type": "number"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"name": "speed",
|
|
783
|
-
"summary": "Speed",
|
|
784
|
-
"required": false,
|
|
785
|
-
"description": "Movement speed",
|
|
786
|
-
"schema": {
|
|
787
|
-
"type": "number"
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
],
|
|
791
|
-
"x-events": []
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
"/setGripperIni": {
|
|
795
|
-
"post": {
|
|
796
|
-
"tags": ["service"],
|
|
797
|
-
"summary": "Sets the initialization of the gripper",
|
|
798
|
-
"parameters": [],
|
|
799
|
-
"x-events": []
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
|
-
"/setBasicOutput": {
|
|
803
|
-
"post": {
|
|
804
|
-
"tags": ["service"],
|
|
805
|
-
"summary": "Sets the basic output of a pin",
|
|
806
|
-
"parameters": [
|
|
807
|
-
{
|
|
808
|
-
"name": "device",
|
|
809
|
-
"summary": "Device identifier",
|
|
810
|
-
"required": true,
|
|
811
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
812
|
-
"schema": {
|
|
813
|
-
"type": "number"
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
"name": "pin_no",
|
|
818
|
-
"summary": "Pin number",
|
|
819
|
-
"required": true,
|
|
820
|
-
"description": "Number of the concerned pin",
|
|
821
|
-
"schema": {
|
|
822
|
-
"type": "number"
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "pin_signal",
|
|
827
|
-
"summary": "Pin signal",
|
|
828
|
-
"required": true,
|
|
829
|
-
"description": "Signal of the pin to set",
|
|
830
|
-
"schema": {
|
|
831
|
-
"type": "number"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
],
|
|
835
|
-
"x-events": []
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
"/setColor": {
|
|
839
|
-
"post": {
|
|
840
|
-
"tags": ["service"],
|
|
841
|
-
"summary": "Sets the RGB color",
|
|
842
|
-
"parameters": [
|
|
843
|
-
{
|
|
844
|
-
"name": "device",
|
|
845
|
-
"summary": "Device identifier",
|
|
846
|
-
"required": true,
|
|
847
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
848
|
-
"schema": {
|
|
849
|
-
"type": "number"
|
|
850
|
-
}
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"name": "r",
|
|
854
|
-
"summary": "Red value",
|
|
855
|
-
"required": true,
|
|
856
|
-
"description": "Red value to set",
|
|
857
|
-
"schema": {
|
|
858
|
-
"type": "number"
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"name": "g",
|
|
863
|
-
"summary": "Green value",
|
|
864
|
-
"required": true,
|
|
865
|
-
"description": "Green value to set",
|
|
866
|
-
"schema": {
|
|
867
|
-
"type": "number"
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
"name": "b",
|
|
872
|
-
"summary": "Blue value",
|
|
873
|
-
"required": true,
|
|
874
|
-
"description": "Blue value to set",
|
|
875
|
-
"schema": {
|
|
876
|
-
"type": "number"
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
],
|
|
880
|
-
"x-events": []
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
"/isPowerOn": {
|
|
884
|
-
"post": {
|
|
885
|
-
"tags": ["service"],
|
|
886
|
-
"summary": "Checks if the device is powered on",
|
|
887
|
-
"parameters": [
|
|
888
|
-
{
|
|
889
|
-
"name": "device",
|
|
890
|
-
"summary": "Device identifier",
|
|
891
|
-
"required": true,
|
|
892
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
893
|
-
"schema": {
|
|
894
|
-
"type": "number"
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
],
|
|
898
|
-
"x-events": []
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
"/isControllerConnect": {
|
|
902
|
-
"post": {
|
|
903
|
-
"tags": ["service"],
|
|
904
|
-
"summary": "Checks if the controller is connected",
|
|
905
|
-
"parameters": [
|
|
906
|
-
{
|
|
907
|
-
"name": "device",
|
|
908
|
-
"summary": "Device identifier",
|
|
909
|
-
"required": true,
|
|
910
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
911
|
-
"schema": {
|
|
912
|
-
"type": "number"
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
],
|
|
916
|
-
"x-events": []
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
"/getCoords": {
|
|
920
|
-
"post": {
|
|
921
|
-
"tags": ["service"],
|
|
922
|
-
"summary": "Retrieves the coordinates",
|
|
923
|
-
"parameters": [
|
|
924
|
-
{
|
|
925
|
-
"name": "device",
|
|
926
|
-
"summary": "Device identifier",
|
|
927
|
-
"required": true,
|
|
928
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
929
|
-
"schema": {
|
|
930
|
-
"type": "number"
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
],
|
|
934
|
-
"x-events": []
|
|
935
|
-
}
|
|
936
|
-
},
|
|
937
|
-
"/isInPosition": {
|
|
938
|
-
"post": {
|
|
939
|
-
"tags": ["service"],
|
|
940
|
-
"summary": "Checks if the device is in position",
|
|
941
|
-
"parameters": [
|
|
942
|
-
{
|
|
943
|
-
"name": "device",
|
|
944
|
-
"summary": "Device identifier",
|
|
945
|
-
"required": true,
|
|
946
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
947
|
-
"schema": {
|
|
948
|
-
"type": "number"
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"name": "data",
|
|
953
|
-
"summary": "Position data",
|
|
954
|
-
"required": true,
|
|
955
|
-
"description": "Position data to check",
|
|
956
|
-
"schema": {
|
|
957
|
-
"type": "object"
|
|
958
|
-
}
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"name": "flag",
|
|
962
|
-
"summary": "Indicator",
|
|
963
|
-
"required": true,
|
|
964
|
-
"description": "Position indicator",
|
|
965
|
-
"schema": {
|
|
966
|
-
"type": "boolean"
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
"x-events": []
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"/getEncoder": {
|
|
974
|
-
"post": {
|
|
975
|
-
"tags": ["service"],
|
|
976
|
-
"summary": "Retrieves the value of an encoder",
|
|
977
|
-
"parameters": [
|
|
978
|
-
{
|
|
979
|
-
"name": "device",
|
|
980
|
-
"summary": "Device identifier",
|
|
981
|
-
"required": true,
|
|
982
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
983
|
-
"schema": {
|
|
984
|
-
"type": "number"
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "joint_id",
|
|
989
|
-
"summary": "Joint identifier",
|
|
990
|
-
"required": true,
|
|
991
|
-
"description": "Identifier of the concerned joint",
|
|
992
|
-
"schema": {
|
|
993
|
-
"type": "number"
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
],
|
|
997
|
-
"x-events": []
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
"/getEncoders": {
|
|
1001
|
-
"post": {
|
|
1002
|
-
"tags": ["service"],
|
|
1003
|
-
"summary": "Retrieves the values of the encoders",
|
|
1004
|
-
"parameters": [
|
|
1005
|
-
{
|
|
1006
|
-
"name": "device",
|
|
1007
|
-
"summary": "Device identifier",
|
|
1008
|
-
"required": true,
|
|
1009
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1010
|
-
"schema": {
|
|
1011
|
-
"type": "number"
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
],
|
|
1015
|
-
"x-events": []
|
|
1016
|
-
}
|
|
1017
|
-
},
|
|
1018
|
-
"/getSpeed": {
|
|
1019
|
-
"post": {
|
|
1020
|
-
"tags": ["service"],
|
|
1021
|
-
"summary": "Retrieves the speed",
|
|
1022
|
-
"parameters": [
|
|
1023
|
-
{
|
|
1024
|
-
"name": "device",
|
|
1025
|
-
"summary": "Device identifier",
|
|
1026
|
-
"required": true,
|
|
1027
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1028
|
-
"schema": {
|
|
1029
|
-
"type": "number"
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
],
|
|
1033
|
-
"x-events": []
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"/getJointMin": {
|
|
1037
|
-
"post": {
|
|
1038
|
-
"tags": ["service"],
|
|
1039
|
-
"summary": "Retrieves the minimum angle of a joint",
|
|
1040
|
-
"parameters": [
|
|
1041
|
-
{
|
|
1042
|
-
"name": "device",
|
|
1043
|
-
"summary": "Device identifier",
|
|
1044
|
-
"required": true,
|
|
1045
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1046
|
-
"schema": {
|
|
1047
|
-
"type": "number"
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
"name": "joint_id",
|
|
1052
|
-
"summary": "Joint identifier",
|
|
1053
|
-
"required": true,
|
|
1054
|
-
"description": "Identifier of the concerned joint",
|
|
1055
|
-
"schema": {
|
|
1056
|
-
"type": "number"
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
],
|
|
1060
|
-
"x-events": []
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
"/getJointMax": {
|
|
1064
|
-
"post": {
|
|
1065
|
-
"tags": ["service"],
|
|
1066
|
-
"summary": "Retrieves the maximum angle of a joint",
|
|
1067
|
-
"parameters": [
|
|
1068
|
-
{
|
|
1069
|
-
"name": "device",
|
|
1070
|
-
"summary": "Device identifier",
|
|
1071
|
-
"required": true,
|
|
1072
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1073
|
-
"schema": {
|
|
1074
|
-
"type": "number"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
"name": "joint_id",
|
|
1079
|
-
"summary": "Joint identifier",
|
|
1080
|
-
"required": true,
|
|
1081
|
-
"description": "Identifier of the concerned joint",
|
|
1082
|
-
"schema": {
|
|
1083
|
-
"type": "number"
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
],
|
|
1087
|
-
"x-events": []
|
|
1088
|
-
}
|
|
1089
|
-
},
|
|
1090
|
-
"/isServoEnable": {
|
|
1091
|
-
"post": {
|
|
1092
|
-
"tags": ["service"],
|
|
1093
|
-
"summary": "Checks if a servo is enabled",
|
|
1094
|
-
"parameters": [
|
|
1095
|
-
{
|
|
1096
|
-
"name": "device",
|
|
1097
|
-
"summary": "Device identifier",
|
|
1098
|
-
"required": true,
|
|
1099
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1100
|
-
"schema": {
|
|
1101
|
-
"type": "number"
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"name": "servo_id",
|
|
1106
|
-
"summary": "Servo identifier",
|
|
1107
|
-
"required": true,
|
|
1108
|
-
"description": "Identifier of the concerned servo",
|
|
1109
|
-
"schema": {
|
|
1110
|
-
"type": "number"
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
],
|
|
1114
|
-
"x-events": []
|
|
1115
|
-
}
|
|
1116
|
-
},
|
|
1117
|
-
"/isAllServoEnable": {
|
|
1118
|
-
"post": {
|
|
1119
|
-
"tags": ["service"],
|
|
1120
|
-
"summary": "Checks if all servos are enabled",
|
|
1121
|
-
"parameters": [
|
|
1122
|
-
{
|
|
1123
|
-
"name": "device",
|
|
1124
|
-
"summary": "Device identifier",
|
|
1125
|
-
"required": true,
|
|
1126
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1127
|
-
"schema": {
|
|
1128
|
-
"type": "number"
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
],
|
|
1132
|
-
"x-events": []
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
"/getServodata": {
|
|
1136
|
-
"post": {
|
|
1137
|
-
"tags": ["service"],
|
|
1138
|
-
"summary": "Retrieves the data of a servo",
|
|
1139
|
-
"parameters": [
|
|
1140
|
-
{
|
|
1141
|
-
"name": "device",
|
|
1142
|
-
"summary": "Device identifier",
|
|
1143
|
-
"required": true,
|
|
1144
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1145
|
-
"schema": {
|
|
1146
|
-
"type": "number"
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"name": "servo_no",
|
|
1151
|
-
"summary": "Servo number",
|
|
1152
|
-
"required": true,
|
|
1153
|
-
"description": "Number of the concerned servo",
|
|
1154
|
-
"schema": {
|
|
1155
|
-
"type": "number"
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"name": "data_id",
|
|
1160
|
-
"summary": "Data identifier",
|
|
1161
|
-
"required": true,
|
|
1162
|
-
"description": "Identifier of the data to retrieve",
|
|
1163
|
-
"schema": {
|
|
1164
|
-
"type": "number"
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
|
-
"x-events": []
|
|
1169
|
-
}
|
|
1170
|
-
},
|
|
1171
|
-
"/getDigitalInput": {
|
|
1172
|
-
"post": {
|
|
1173
|
-
"tags": ["service"],
|
|
1174
|
-
"summary": "Retrieves the digital input of a pin",
|
|
1175
|
-
"parameters": [
|
|
1176
|
-
{
|
|
1177
|
-
"name": "device",
|
|
1178
|
-
"summary": "Device identifier",
|
|
1179
|
-
"required": true,
|
|
1180
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1181
|
-
"schema": {
|
|
1182
|
-
"type": "number"
|
|
1183
|
-
}
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
"name": "pin_no",
|
|
1187
|
-
"summary": "Pin number",
|
|
1188
|
-
"required": true,
|
|
1189
|
-
"description": "Number of the concerned pin",
|
|
1190
|
-
"schema": {
|
|
1191
|
-
"type": "number"
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
],
|
|
1195
|
-
"x-events": []
|
|
1196
|
-
}
|
|
1197
|
-
},
|
|
1198
|
-
"/getGripperValue": {
|
|
1199
|
-
"post": {
|
|
1200
|
-
"tags": ["service"],
|
|
1201
|
-
"summary": "Retrieves the value of the gripper",
|
|
1202
|
-
"parameters": [
|
|
1203
|
-
{
|
|
1204
|
-
"name": "device",
|
|
1205
|
-
"summary": "Device identifier",
|
|
1206
|
-
"required": true,
|
|
1207
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1208
|
-
"schema": {
|
|
1209
|
-
"type": "number"
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
],
|
|
1213
|
-
"x-events": []
|
|
1214
|
-
}
|
|
1215
|
-
},
|
|
1216
|
-
"/getBasicOutput": {
|
|
1217
|
-
"post": {
|
|
1218
|
-
"tags": ["service"],
|
|
1219
|
-
"summary": "Retrieves the basic output of a pin",
|
|
1220
|
-
"parameters": [
|
|
1221
|
-
{
|
|
1222
|
-
"name": "device",
|
|
1223
|
-
"summary": "Device identifier",
|
|
1224
|
-
"required": true,
|
|
1225
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1226
|
-
"schema": {
|
|
1227
|
-
"type": "number"
|
|
1228
|
-
}
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
"name": "pin_no",
|
|
1232
|
-
"summary": "Pin number",
|
|
1233
|
-
"required": true,
|
|
1234
|
-
"description": "Number of the concerned pin",
|
|
1235
|
-
"schema": {
|
|
1236
|
-
"type": "number"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
],
|
|
1240
|
-
"x-events": []
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
"/isGripperMoving": {
|
|
1244
|
-
"post": {
|
|
1245
|
-
"tags": ["service"],
|
|
1246
|
-
"summary": "Checks if the gripper is moving",
|
|
1247
|
-
"parameters": [
|
|
1248
|
-
{
|
|
1249
|
-
"name": "device",
|
|
1250
|
-
"summary": "Device identifier",
|
|
1251
|
-
"required": true,
|
|
1252
|
-
"description": "Identifier of the concerned device (0 = All, 1 = Left arm, 2 = Right arm, 3 = Body)",
|
|
1253
|
-
"schema": {
|
|
1254
|
-
"type": "number"
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
],
|
|
1258
|
-
"x-events": []
|
|
1259
|
-
}
|
|
1260
|
-
},
|
|
1261
|
-
"/sleep": {
|
|
1262
|
-
"post": {
|
|
1263
|
-
"tags": ["service"],
|
|
1264
|
-
"summary": "Waits for a certain time",
|
|
1265
|
-
"parameters": [
|
|
1266
|
-
{
|
|
1267
|
-
"name": "time",
|
|
1268
|
-
"summary": "time in seconds",
|
|
1269
|
-
"required": true,
|
|
1270
|
-
"description": "time in seconds to wait",
|
|
1271
|
-
"schema": {
|
|
1272
|
-
"type": "number"
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
],
|
|
1276
|
-
"x-events": []
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
},
|
|
1280
|
-
"components": {},
|
|
1281
|
-
"x-scene-blocks": {}
|
|
1282
|
-
}
|