|
34 | 34 | "name": "Scene2", |
35 | 35 | "use_tracker": true, |
36 | 36 | "output_lla": false, |
37 | | - "mesh_translation": [ |
38 | | - 12.2, |
39 | | - 248, |
40 | | - 12 |
41 | | - ], |
42 | | - "mesh_rotation": [ |
43 | | - 12.2, |
44 | | - 248, |
45 | | - 12 |
46 | | - ], |
47 | | - "mesh_scale": [ |
48 | | - 1, |
49 | | - 1, |
50 | | - 1 |
51 | | - ], |
52 | | - "tracker_config": [ |
53 | | - 1, |
54 | | - 1, |
55 | | - 1 |
56 | | - ] |
| 37 | + "mesh_translation": [12.2, 248, 12], |
| 38 | + "mesh_rotation": [12.2, 248, 12], |
| 39 | + "mesh_scale": [1, 1, 1], |
| 40 | + "tracker_config": [1, 1, 1] |
57 | 41 | } |
58 | 42 | }, |
59 | 43 | "expected_status": { |
|
107 | 91 | "name": "Scene_MeshTranslation_Invalid", |
108 | 92 | "use_tracker": true, |
109 | 93 | "output_lla": false, |
110 | | - "mesh_translation": [ |
111 | | - 1.0, |
112 | | - 2.0 |
113 | | - ] |
| 94 | + "mesh_translation": [1.0, 2.0] |
114 | 95 | } |
115 | 96 | }, |
116 | 97 | "expected_status": { |
|
131 | 112 | "name": "Scene_MeshRotation_Invalid", |
132 | 113 | "use_tracker": true, |
133 | 114 | "output_lla": false, |
134 | | - "mesh_rotation": [ |
135 | | - 12.2, |
136 | | - 248 |
137 | | - ] |
| 115 | + "mesh_rotation": [12.2, 248] |
138 | 116 | } |
139 | 117 | }, |
140 | 118 | "expected_status": { |
|
155 | 133 | "name": "Scene_MeshScale_Invalid", |
156 | 134 | "use_tracker": true, |
157 | 135 | "output_lla": false, |
158 | | - "mesh_scale": [ |
159 | | - 1.0, |
160 | | - 1.0 |
161 | | - ] |
| 136 | + "mesh_scale": [1.0, 1.0] |
162 | 137 | } |
163 | 138 | }, |
164 | 139 | "expected_status": { |
|
223 | 198 | "map_type": "map_upload", |
224 | 199 | "use_tracker": false, |
225 | 200 | "output_lla": true, |
226 | | - "mesh_translation": [ |
227 | | - 0, |
228 | | - 0, |
229 | | - 0 |
230 | | - ], |
231 | | - "mesh_rotation": [ |
232 | | - 0, |
233 | | - 0, |
234 | | - 0 |
235 | | - ], |
236 | | - "mesh_scale": [ |
237 | | - 1.0, |
238 | | - 1.0, |
239 | | - 1.0 |
240 | | - ], |
| 201 | + "mesh_translation": [0, 0, 0], |
| 202 | + "mesh_rotation": [0, 0, 0], |
| 203 | + "mesh_scale": [1.0, 1.0, 1.0], |
241 | 204 | "regulated_rate": 30.0, |
242 | 205 | "external_update_rate": 30.0, |
243 | 206 | "camera_calibration": "Manual", |
|
272 | 235 | "name": "Scene1_Updated_Full", |
273 | 236 | "use_tracker": true, |
274 | 237 | "output_lla": true, |
275 | | - "mesh_translation": [ |
276 | | - 12.2, |
277 | | - 248, |
278 | | - 12.0 |
279 | | - ], |
280 | | - "mesh_rotation": [ |
281 | | - 12.2, |
282 | | - 248, |
283 | | - 12.0 |
284 | | - ], |
285 | | - "mesh_scale": [ |
286 | | - 2.0, |
287 | | - 2.0, |
288 | | - 2.0 |
289 | | - ] |
| 238 | + "mesh_translation": [12.2, 248, 12.0], |
| 239 | + "mesh_rotation": [12.2, 248, 12.0], |
| 240 | + "mesh_scale": [2.0, 2.0, 2.0] |
290 | 241 | } |
291 | 242 | }, |
292 | 243 | "expected_status": { |
|
314 | 265 | "map_type": "map_upload", |
315 | 266 | "use_tracker": true, |
316 | 267 | "output_lla": true, |
317 | | - "mesh_translation": [ |
318 | | - 12.2, |
319 | | - 248.0, |
320 | | - 12.0 |
321 | | - ], |
322 | | - "mesh_rotation": [ |
323 | | - 12.2, |
324 | | - 248.0, |
325 | | - 12.0 |
326 | | - ], |
327 | | - "mesh_scale": [ |
328 | | - 2.0, |
329 | | - 2.0, |
330 | | - 2.0 |
331 | | - ], |
| 268 | + "mesh_translation": [12.2, 248.0, 12.0], |
| 269 | + "mesh_rotation": [12.2, 248.0, 12.0], |
| 270 | + "mesh_scale": [2.0, 2.0, 2.0], |
332 | 271 | "regulated_rate": 30.0, |
333 | 272 | "external_update_rate": 30.0, |
334 | 273 | "camera_calibration": "Manual", |
|
380 | 319 | "name": "Scene_Update_MeshTranslation_Invalid", |
381 | 320 | "use_tracker": true, |
382 | 321 | "output_lla": false, |
383 | | - "mesh_translation": [ |
384 | | - 1.0 |
385 | | - ] |
| 322 | + "mesh_translation": [1.0] |
386 | 323 | } |
387 | 324 | }, |
388 | 325 | "expected_status": { |
|
404 | 341 | "name": "Scene_Update_MeshRotation_Invalid", |
405 | 342 | "use_tracker": true, |
406 | 343 | "output_lla": false, |
407 | | - "mesh_rotation": [ |
408 | | - 0.0, |
409 | | - 0.0 |
410 | | - ] |
| 344 | + "mesh_rotation": [0.0, 0.0] |
411 | 345 | } |
412 | 346 | }, |
413 | 347 | "expected_status": { |
|
429 | 363 | "name": "Scene_Update_MeshScale_Invalid", |
430 | 364 | "use_tracker": true, |
431 | 365 | "output_lla": false, |
432 | | - "mesh_scale": [ |
433 | | - 1.0 |
434 | | - ] |
| 366 | + "mesh_scale": [1.0] |
435 | 367 | } |
436 | 368 | }, |
437 | 369 | "expected_status": { |
|
632 | 564 | "uid": "${CHILD_LINK_UID}", |
633 | 565 | "child_type": "local", |
634 | 566 | "transform": { |
635 | | - "translation": [ |
636 | | - 0.0, |
637 | | - 0.0, |
638 | | - 0.0 |
639 | | - ], |
640 | | - "rotation": [ |
641 | | - 0.0, |
642 | | - 0.0, |
643 | | - 0.0 |
644 | | - ], |
645 | | - "scale": [ |
646 | | - 1.0, |
647 | | - 1.0, |
648 | | - 1.0 |
649 | | - ] |
| 567 | + "translation": [0.0, 0.0, 0.0], |
| 568 | + "rotation": [0.0, 0.0, 0.0], |
| 569 | + "scale": [1.0, 1.0, 1.0] |
650 | 570 | }, |
651 | 571 | "name": "Circular_Dep_Scene_B", |
652 | 572 | "child": "${CIRC_SCENE_B_UID}", |
|
1352 | 1272 | "test_name": "Vision_AI/SSCAPE/API/SCENE/33: Delete non existent child scene link", |
1353 | 1273 | "test_steps": [ |
1354 | 1274 | { |
1355 | | - "step_name": "Delete Child Scene Link", |
| 1275 | + "step_name": "Delete Child Scene Link with non existent uid", |
1356 | 1276 | "api": "child", |
1357 | 1277 | "method": "deleteChildSceneLink", |
1358 | 1278 | "request": { |
1359 | | - "uid": "123" |
| 1279 | + "uid": "${CIRC_SCENE_D_UID}" |
1360 | 1280 | }, |
1361 | 1281 | "expected_status": { |
1362 | | - "status_code": 400 |
| 1282 | + "status_code": 404 |
1363 | 1283 | } |
1364 | 1284 | } |
1365 | 1285 | ] |
|
0 commit comments