You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spot_wrapper/calibration/README.md
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Automatic Robotic Stereo Camera Calibration Utility with Charuco Target (a.k.a Multi-Stereo Madness)
2
2
3
+
## Find where your cameras are relative to each other, and relative to your robot
4
+
## Find how your cameras project 3D points into pixels
5
+
3
6
### Recommended Setup
4
7
5
8

@@ -22,13 +25,18 @@
22
25
7.[Recreate the Core Calibration CLI Tool Without Depending On Spot Wrapper](#recreate-the-core-calibration-cli-tool-without-depending-on-spot-wrapper)
23
26
24
27
# Overview
28
+
25
29
This utility streamlines automatic
26
30
camera calibration to **solve for the intrinsic and extrinsic parameters for two or more
27
31
cameras mounted in a fixed pose relative to each other on a robot**
28
32
based off of moving the robot to view a Charuco target from different poses. If you already
29
33
have an existing dataset of synchronized stereo (or multi-stereo) photos of a Charuco target from different viewpoints,
30
-
you can use the CLI tool to compute the intrinsic/extrinsic parameters. Additionally,
31
-
the CLI tool's saving capability allows to store multiple unique calibration runs in one configuration file
34
+
you can use the CLI tool to compute the intrinsic/extrinsic parameters. Additionally, if you have saved the poses the images are taken at (as homogenous 4x4 transforms from the "world" frame [most likely the robot base] to the robot planning frame [most likely the
35
+
robot end-effector]), you can also calibrate
36
+
the camera to robot extrinsic (eye-to-hand registration). If you don't have a dataset,
37
+
you can use this tool both to generate the dataset and calibrate the cameras.
38
+
39
+
The CLI tool's saving capability allows to store multiple unique calibration runs in one configuration file
32
40
with calibration metadata, to document related runs with different setups or parameters.
33
41
34
42
This was developed to calibrate the two cameras at the
@@ -205,8 +213,15 @@ existing_dataset/
205
213
│ ├── 0.png # taken at viewpoint 0
206
214
│ ├── 1.png
207
215
│ └── 2.png
216
+
├── poses/ # optional, for camera to robot cal
217
+
│ ├── 0.npy # base to planning frame 4x4 homgenous transform at viewpoint 0
218
+
│ ├── 1.npy # .npy files generated with np.save(FILENAME, 4x4_POSE)
219
+
│ └── 2.npy
208
220
```
209
221
222
+
Optionally, you can also include pose information, to find the camera to robot extrinsic.
223
+
224
+
210
225
To see all possible arguments for calibration, please run ```python3 calibrate_multistereo_cameras_with_charuco_cli.py -h```.
211
226
Many parameters such as board proportions and Agmruco dictionary are customizable.
0 commit comments