Skip to content

Commit 426facf

Browse files
committed
fix prettier check
1 parent c56e7e0 commit 426facf

1 file changed

Lines changed: 25 additions & 105 deletions

File tree

tests/api/scenarios/scene_api.json

Lines changed: 25 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,10 @@
3434
"name": "Scene2",
3535
"use_tracker": true,
3636
"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]
5741
}
5842
},
5943
"expected_status": {
@@ -107,10 +91,7 @@
10791
"name": "Scene_MeshTranslation_Invalid",
10892
"use_tracker": true,
10993
"output_lla": false,
110-
"mesh_translation": [
111-
1.0,
112-
2.0
113-
]
94+
"mesh_translation": [1.0, 2.0]
11495
}
11596
},
11697
"expected_status": {
@@ -131,10 +112,7 @@
131112
"name": "Scene_MeshRotation_Invalid",
132113
"use_tracker": true,
133114
"output_lla": false,
134-
"mesh_rotation": [
135-
12.2,
136-
248
137-
]
115+
"mesh_rotation": [12.2, 248]
138116
}
139117
},
140118
"expected_status": {
@@ -155,10 +133,7 @@
155133
"name": "Scene_MeshScale_Invalid",
156134
"use_tracker": true,
157135
"output_lla": false,
158-
"mesh_scale": [
159-
1.0,
160-
1.0
161-
]
136+
"mesh_scale": [1.0, 1.0]
162137
}
163138
},
164139
"expected_status": {
@@ -223,21 +198,9 @@
223198
"map_type": "map_upload",
224199
"use_tracker": false,
225200
"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],
241204
"regulated_rate": 30.0,
242205
"external_update_rate": 30.0,
243206
"camera_calibration": "Manual",
@@ -272,21 +235,9 @@
272235
"name": "Scene1_Updated_Full",
273236
"use_tracker": true,
274237
"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]
290241
}
291242
},
292243
"expected_status": {
@@ -314,21 +265,9 @@
314265
"map_type": "map_upload",
315266
"use_tracker": true,
316267
"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],
332271
"regulated_rate": 30.0,
333272
"external_update_rate": 30.0,
334273
"camera_calibration": "Manual",
@@ -380,9 +319,7 @@
380319
"name": "Scene_Update_MeshTranslation_Invalid",
381320
"use_tracker": true,
382321
"output_lla": false,
383-
"mesh_translation": [
384-
1.0
385-
]
322+
"mesh_translation": [1.0]
386323
}
387324
},
388325
"expected_status": {
@@ -404,10 +341,7 @@
404341
"name": "Scene_Update_MeshRotation_Invalid",
405342
"use_tracker": true,
406343
"output_lla": false,
407-
"mesh_rotation": [
408-
0.0,
409-
0.0
410-
]
344+
"mesh_rotation": [0.0, 0.0]
411345
}
412346
},
413347
"expected_status": {
@@ -429,9 +363,7 @@
429363
"name": "Scene_Update_MeshScale_Invalid",
430364
"use_tracker": true,
431365
"output_lla": false,
432-
"mesh_scale": [
433-
1.0
434-
]
366+
"mesh_scale": [1.0]
435367
}
436368
},
437369
"expected_status": {
@@ -632,21 +564,9 @@
632564
"uid": "${CHILD_LINK_UID}",
633565
"child_type": "local",
634566
"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]
650570
},
651571
"name": "Circular_Dep_Scene_B",
652572
"child": "${CIRC_SCENE_B_UID}",
@@ -1352,14 +1272,14 @@
13521272
"test_name": "Vision_AI/SSCAPE/API/SCENE/33: Delete non existent child scene link",
13531273
"test_steps": [
13541274
{
1355-
"step_name": "Delete Child Scene Link",
1275+
"step_name": "Delete Child Scene Link with non existent uid",
13561276
"api": "child",
13571277
"method": "deleteChildSceneLink",
13581278
"request": {
1359-
"uid": "123"
1279+
"uid": "${CIRC_SCENE_D_UID}"
13601280
},
13611281
"expected_status": {
1362-
"status_code": 400
1282+
"status_code": 404
13631283
}
13641284
}
13651285
]

0 commit comments

Comments
 (0)