Skip to content

Commit

Permalink
Update checkerboard ZDFs and multicamera transforms
Browse files Browse the repository at this point in the history
In 2.14, we dropped support for legacy checkerboards that lack Aruco
markers. This commit replaces the checkerboard frames which had legacy
checkerboards with new frames. Also the multicamera transforms are
updated based on the new frames.
  • Loading branch information
johningve committed Dec 3, 2024
1 parent 7c396d2 commit 87dbc6c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion test/calibration/test_calibration_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_detect_feature_points(checkerboard_frames):
centroid = detection_result.centroid()
assert isinstance(centroid, np.ndarray)
assert centroid.shape == (3,)
np.testing.assert_allclose(centroid, [-67.03593, 71.17018, 906.348], rtol=1e-6)
np.testing.assert_allclose(centroid, [-14.350989, -43.70388, 1016.19257], rtol=1e-6)


def test_calibration_board_pose(calibration_board_frame):
Expand Down
4 changes: 2 additions & 2 deletions test/test_data/checkerboard_0.zdf
Git LFS file not shown
4 changes: 2 additions & 2 deletions test/test_data/checkerboard_1.zdf
Git LFS file not shown
4 changes: 2 additions & 2 deletions test/test_data/checkerboard_2.zdf
Git LFS file not shown
8 changes: 4 additions & 4 deletions test/test_data/multicamera_transform_1.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-7.3095135e-02, 7.6068854e-01, -6.4498842e-01, 5.8324860e+02
-9.0033317e-01, 2.2786885e-01, 3.7077752e-01, -4.5301959e+02
4.2901897e-01, 6.0780650e-01, 6.6821700e-01, 3.4943375e+02
0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 1.0000000e+00
5.02376556e-01, 7.80708194e-01, -3.71634930e-01, 3.38841370e+02
-8.01094711e-01, 5.82002580e-01, 1.39714986e-01, -1.23210884e+02
3.25369120e-01, 2.27525249e-01, 9.17805672e-01, 7.47449799e+01
0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 1.00000000e+00
8 changes: 4 additions & 4 deletions test/test_data/multicamera_transform_2.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-5.0617337e-01, -7.4661517e-01, 4.3168774e-01, -4.4305154e+02
5.9950125e-01, 5.5231109e-02, 7.9846591e-01, -7.5797052e+02
-6.1998934e-01, 6.6295952e-01, 4.1964021e-01, 4.8767010e+02
0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 1.0000000e+00
9.3767160e-01, -3.0800268e-01, 1.6095431e-01, -8.9220314e+01
3.0431503e-01, 9.5137602e-01, 4.7707938e-02, -5.4816345e+01
-1.6782224e-01, 4.2464356e-03, 9.8580813e-01, 2.2653728e+01
0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 1.0000000e+00

0 comments on commit 87dbc6c

Please sign in to comment.