Skip to content

Commit

Permalink
ADD: Tool to measure DetectorToReference transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranbarr committed Aug 19, 2024
1 parent fd0ba9d commit a5a0bb5
Show file tree
Hide file tree
Showing 2 changed files with 498 additions and 0 deletions.
395 changes: 395 additions & 0 deletions data/measure_detector_to_reference_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,395 @@
{
"startup_mode": "detecting_and_solving",
"detectors": [
{
"label": "d101",
"ip_address": "192.168.0.101",
"port": 8001
},
{
"label": "d102",
"ip_address": "192.168.0.102",
"port": 8001
}
],
"pose_solvers": [
{
"label": "ps",
"ip_address": "127.0.0.1",
"port": 8000,
"targets": [
{
"target_id": "reference",
"markers": [
{
"marker_id": "0",
"points": [
[-55.0,95.0,0.0],
[-45.0,95.0,0.0],
[-45.0,85.0,0.0],
[-55.0,85.0,0.0]
]
},
{
"marker_id": "1",
"points": [
[-15.0,95.0,0.0],
[-5.0,95.0,0.0],
[-5.0,85.0,0.0],
[-15.0,85.0,0.0]
]
},
{
"marker_id": "2",
"points": [
[25.0,95.0,0.0],
[35.0,95.0,0.0],
[35.0,85.0,0.0],
[25.0,85.0,0.0]
]
},
{
"marker_id": "3",
"points": [
[65.0,95.0,0.0],
[75.0,95.0,0.0],
[75.0,85.0,0.0],
[65.0,85.0,0.0]
]
},
{
"marker_id": "4",
"points": [
[-75.0,75.0,0.0],
[-65.0,75.0,0.0],
[-65.0,65.0,0.0],
[-75.0,65.0,0.0]
]
},
{
"marker_id": "5",
"points": [
[-35.0,75.0,0.0],
[-25.0,75.0,0.0],
[-25.0,65.0,0.0],
[-35.0,65.0,0.0]
]
},
{
"marker_id": "6",
"points": [
[5.0,75.0,0.0],
[15.0,75.0,0.0],
[15.0,65.0,0.0],
[5.0,65.0,0.0]
]
},
{
"marker_id": "7",
"points": [
[45.0,75.0,0.0],
[55.0,75.0,0.0],
[55.0,65.0,0.0],
[45.0,65.0,0.0]
]
},
{
"marker_id": "8",
"points": [
[-55.0,55.0,0.0],
[-45.0,55.0,0.0],
[-45.0,45.0,0.0],
[-55.0,45.0,0.0]
]
},
{
"marker_id": "9",
"points": [
[-15.0,55.0,0.0],
[-5.0,55.0,0.0],
[-5.0,45.0,0.0],
[-15.0,45.0,0.0]
]
},
{
"marker_id": "10",
"points": [
[25.0,55.0,0.0],
[35.0,55.0,0.0],
[35.0,45.0,0.0],
[25.0,45.0,0.0]
]
},
{
"marker_id": "11",
"points": [
[65.0,55.0,0.0],
[75.0,55.0,0.0],
[75.0,45.0,0.0],
[65.0,45.0,0.0]
]
},
{
"marker_id": "12",
"points": [
[-75.0,35.0,0.0],
[-65.0,35.0,0.0],
[-65.0,25.0,0.0],
[-75.0,25.0,0.0]
]
},
{
"marker_id": "13",
"points": [
[-35.0,35.0,0.0],
[-25.0,35.0,0.0],
[-25.0,25.0,0.0],
[-35.0,25.0,0.0]
]
},
{
"marker_id": "14",
"points": [
[5.0,35.0,0.0],
[15.0,35.0,0.0],
[15.0,25.0,0.0],
[5.0,25.0,0.0]
]
},
{
"marker_id": "15",
"points": [
[45.0,35.0,0.0],
[55.0,35.0,0.0],
[55.0,25.0,0.0],
[45.0,25.0,0.0]
]
},
{
"marker_id": "16",
"points": [
[-55.0,15.0,0.0],
[-45.0,15.0,0.0],
[-45.0,5.0,0.0],
[-55.0,5.0,0.0]
]
},
{
"marker_id": "17",
"points": [
[-15.0,15.0,0.0],
[-5.0,15.0,0.0],
[-5.0,5.0,0.0],
[-15.0,5.0,0.0]
]
},
{
"marker_id": "18",
"points": [
[25.0,15.0,0.0],
[35.0,15.0,0.0],
[35.0,5.0,0.0],
[25.0,5.0,0.0]
]
},
{
"marker_id": "19",
"points": [
[65.0,15.0,0.0],
[75.0,15.0,0.0],
[75.0,5.0,0.0],
[65.0,5.0,0.0]
]
},
{
"marker_id": "20",
"points": [
[-75.0,-5.0,0.0],
[-65.0,-5.0,0.0],
[-65.0,-15.0,0.0],
[-75.0,-15.0,0.0]
]
},
{
"marker_id": "21",
"points": [
[-35.0,-5.0,0.0],
[-25.0,-5.0,0.0],
[-25.0,-15.0,0.0],
[-35.0,-15.0,0.0]
]
},
{
"marker_id": "22",
"points": [
[5.0,-5.0,0.0],
[15.0,-5.0,0.0],
[15.0,-15.0,0.0],
[5.0,-15.0,0.0]
]
},
{
"marker_id": "23",
"points": [
[45.0,-5.0,0.0],
[55.0,-5.0,0.0],
[55.0,-15.0,0.0],
[45.0,-15.0,0.0]
]
},
{
"marker_id": "24",
"points": [
[-55.0,-25.0,0.0],
[-45.0,-25.0,0.0],
[-45.0,-35.0,0.0],
[-55.0,-35.0,0.0]
]
},
{
"marker_id": "25",
"points": [
[-15.0,-25.0,0.0],
[-5.0,-25.0,0.0],
[-5.0,-35.0,0.0],
[-15.0,-35.0,0.0]
]
},
{
"marker_id": "26",
"points": [
[25.0,-25.0,0.0],
[35.0,-25.0,0.0],
[35.0,-35.0,0.0],
[25.0,-35.0,0.0]
]
},
{
"marker_id": "27",
"points": [
[65.0,-25.0,0.0],
[75.0,-25.0,0.0],
[75.0,-35.0,0.0],
[65.0,-35.0,0.0]
]
},
{
"marker_id": "28",
"points": [
[-75.0,-45.0,0.0],
[-65.0,-45.0,0.0],
[-65.0,-55.0,0.0],
[-75.0,-55.0,0.0]
]
},
{
"marker_id": "29",
"points": [
[-35.0,-45.0,0.0],
[-25.0,-45.0,0.0],
[-25.0,-55.0,0.0],
[-35.0,-55.0,0.0]
]
},
{
"marker_id": "30",
"points": [
[5.0,-45.0,0.0],
[15.0,-45.0,0.0],
[15.0,-55.0,0.0],
[5.0,-55.0,0.0]
]
},
{
"marker_id": "31",
"points": [
[45.0,-45.0,0.0],
[55.0,-45.0,0.0],
[55.0,-55.0,0.0],
[45.0,-55.0,0.0]
]
},
{
"marker_id": "32",
"points": [
[-55.0,-65.0,0.0],
[-45.0,-65.0,0.0],
[-45.0,-75.0,0.0],
[-55.0,-75.0,0.0]
]
},
{
"marker_id": "33",
"points": [
[-15.0,-65.0,0.0],
[-5.0,-65.0,0.0],
[-5.0,-75.0,0.0],
[-15.0,-75.0,0.0]
]
},
{
"marker_id": "34",
"points": [
[25.0,-65.0,0.0],
[35.0,-65.0,0.0],
[35.0,-75.0,0.0],
[25.0,-75.0,0.0]
]
},
{
"marker_id": "35",
"points": [
[65.0,-65.0,0.0],
[75.0,-65.0,0.0],
[75.0,-75.0,0.0],
[65.0,-75.0,0.0]
]
},
{
"marker_id": "36",
"points": [
[-75.0,-85.0,0.0],
[-65.0,-85.0,0.0],
[-65.0,-95.0,0.0],
[-75.0,-95.0,0.0]
]
},
{
"marker_id": "37",
"points": [
[-35.0,-85.0,0.0],
[-25.0,-85.0,0.0],
[-25.0,-95.0,0.0],
[-35.0,-95.0,0.0]
]
},
{
"marker_id": "38",
"points": [
[5.0,-85.0,0.0],
[15.0,-85.0,0.0],
[15.0,-95.0,0.0],
[5.0,-95.0,0.0]
]
},
{
"marker_id": "39",
"points": [
[45.0,-85.0,0.0],
[55.0,-85.0,0.0],
[55.0,-95.0,0.0],
[45.0,-95.0,0.0]
]
}
]
}
]
}
],
"detector_params": [
{
"subpixel_refinement": "False"
}
]
}

Loading

0 comments on commit a5a0bb5

Please sign in to comment.