aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/utils')
-rw-r--r--src/argaze.test/utils/environment.json60
-rw-r--r--src/argaze.test/utils/scene.json56
2 files changed, 60 insertions, 56 deletions
diff --git a/src/argaze.test/utils/environment.json b/src/argaze.test/utils/environment.json
new file mode 100644
index 0000000..d5f8639
--- /dev/null
+++ b/src/argaze.test/utils/environment.json
@@ -0,0 +1,60 @@
+{
+ "name": "TestEnvironment",
+ "aruco_detector": {
+ "dictionary": "DICT_ARUCO_ORIGINAL",
+ "marker_size": 3.0,
+ "camera": {
+ "rms": 1.0,
+ "dimensions": [
+ 1920,
+ 1080
+ ],
+ "K": [
+ [
+ 1.0,
+ 0.0,
+ 1.0
+ ],
+ [
+ 0.0,
+ 1.0,
+ 1.0
+ ],
+ [
+ 0.0,
+ 0.0,
+ 1.0
+ ]
+ ],
+ "D": [
+ -1.0,
+ -0.5,
+ 0.0,
+ 0.5,
+ 1.0
+ ]
+ },
+ "parameters": {
+ "cornerRefinementMethod": 3,
+ "aprilTagQuadSigma": 2,
+ "aprilTagDeglitch": 1
+ }
+ },
+ "TestScene" : {
+ "aruco_scene": {
+ "A": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0],
+ "marker": 0
+ },
+ "B": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0],
+ "marker": 1
+ }
+ },
+ "aoi_scene": "aoi.obj",
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
+ }
+} \ No newline at end of file
diff --git a/src/argaze.test/utils/scene.json b/src/argaze.test/utils/scene.json
deleted file mode 100644
index 25aacc8..0000000
--- a/src/argaze.test/utils/scene.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "TestScene",
- "aruco_dictionary": "DICT_ARUCO_ORIGINAL",
- "aruco_marker_size": 3.0,
- "aruco_camera": {
- "rms": 1.0,
- "dimensions": [
- 1920,
- 1080
- ],
- "K": [
- [
- 1.0,
- 0.0,
- 1.0
- ],
- [
- 0.0,
- 1.0,
- 1.0
- ],
- [
- 0.0,
- 0.0,
- 1.0
- ]
- ],
- "D": [
- -1.0,
- -0.5,
- 0.0,
- 0.5,
- 1.0
- ]
- },
- "aruco_detector": {
- "cornerRefinementMethod": 3,
- "aprilTagQuadSigma": 2,
- "aprilTagDeglitch": 1
- },
- "aruco_scene": {
- "A": {
- "translation": [1, 0, 0],
- "rotation": [0, 0, 0],
- "marker": 0
- },
- "B": {
- "translation": [0, 1, 0],
- "rotation": [0, 90, 0],
- "marker": 1
- }
- },
- "aoi_scene": "aoi.obj",
- "angle_tolerance": 1.0,
- "distance_tolerance": 2.0
-} \ No newline at end of file