From 7181f1587cd4d78c34d4dba740f1a5b7b2a5856c Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 24 Apr 2023 17:00:16 +0200 Subject: Loading ArUco scene directly from dict with several rotation values format. --- src/argaze.test/utils/environment.json | 36 ++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'src/argaze.test') diff --git a/src/argaze.test/utils/environment.json b/src/argaze.test/utils/environment.json index 17920d8..57d04cf 100644 --- a/src/argaze.test/utils/environment.json +++ b/src/argaze.test/utils/environment.json @@ -45,13 +45,19 @@ "scenes": { "TestSceneA" : { "aruco_scene": { - "0": { - "translation": [1, 0, 0], - "rotation": [0, 0, 0] + "marker_size": 3.0, + "dictionary": { + "name": "DICT_ARUCO_ORIGINAL" }, - "1": { - "translation": [0, 1, 0], - "rotation": [0, 90, 0] + "places": { + "0": { + "translation": [1, 0, 0], + "rotation": [0, 0, 0] + }, + "1": { + "translation": [0, 1, 0], + "rotation": [0, 90, 0] + } } }, "aoi_scene": "aoi.obj", @@ -60,13 +66,19 @@ }, "TestSceneB" : { "aruco_scene": { - "0": { - "translation": [1, 0, 0], - "rotation": [0, 0, 0] + "marker_size": 3.0, + "dictionary": { + "name": "DICT_ARUCO_ORIGINAL" }, - "1": { - "translation": [0, 1, 0], - "rotation": [0, 90, 0] + "places": { + "0": { + "translation": [1, 0, 0], + "rotation": [0, 0, 0] + }, + "1": { + "translation": [0, 1, 0], + "rotation": [0, 90, 0] + } } }, "aoi_scene": "aoi.obj", -- cgit v1.1