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