aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/utils/environment.json
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-12 11:54:02 +0200
committerThéo de la Hogue2023-04-12 11:54:02 +0200
commit952d992ad025113de4440c29b8d2ef8c6ac56baa (patch)
tree521cb0259a37986637c2688383bd39b12b17fb37 /src/argaze.test/utils/environment.json
parentae330a60eb85dab92029c2c3f7482500b5e73fba (diff)
downloadargaze-952d992ad025113de4440c29b8d2ef8c6ac56baa.zip
argaze-952d992ad025113de4440c29b8d2ef8c6ac56baa.tar.gz
argaze-952d992ad025113de4440c29b8d2ef8c6ac56baa.tar.bz2
argaze-952d992ad025113de4440c29b8d2ef8c6ac56baa.tar.xz
Adding a scenes field to json description and loading it properly.
Diffstat (limited to 'src/argaze.test/utils/environment.json')
-rw-r--r--src/argaze.test/utils/environment.json54
1 files changed, 28 insertions, 26 deletions
diff --git a/src/argaze.test/utils/environment.json b/src/argaze.test/utils/environment.json
index d4d6f2b..17920d8 100644
--- a/src/argaze.test/utils/environment.json
+++ b/src/argaze.test/utils/environment.json
@@ -42,34 +42,36 @@
"aprilTagDeglitch": 1
}
},
- "TestSceneA" : {
- "aruco_scene": {
- "0": {
- "translation": [1, 0, 0],
- "rotation": [0, 0, 0]
+ "scenes": {
+ "TestSceneA" : {
+ "aruco_scene": {
+ "0": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0]
+ },
+ "1": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0]
+ }
},
- "1": {
- "translation": [0, 1, 0],
- "rotation": [0, 90, 0]
- }
+ "aoi_scene": "aoi.obj",
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
},
- "aoi_scene": "aoi.obj",
- "angle_tolerance": 1.0,
- "distance_tolerance": 2.0
- },
- "TestSceneB" : {
- "aruco_scene": {
- "0": {
- "translation": [1, 0, 0],
- "rotation": [0, 0, 0]
+ "TestSceneB" : {
+ "aruco_scene": {
+ "0": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0]
+ },
+ "1": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0]
+ }
},
- "1": {
- "translation": [0, 1, 0],
- "rotation": [0, 90, 0]
- }
- },
- "aoi_scene": "aoi.obj",
- "angle_tolerance": 1.0,
- "distance_tolerance": 2.0
+ "aoi_scene": "aoi.obj",
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
+ }
}
} \ No newline at end of file