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