Skip to content

Commit cd502a2

Browse files
authored
Add message discouraging chessboard usage (#2160)
1 parent f16ffe3 commit cd502a2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/source/docs/calibration/calibration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The calibration data collected during calibration is specific to each physical c
1616

1717
## Calibration Tips
1818

19+
:::{warning}
20+
The usage of chessboards can result in bad calibration results if multiple similar images are taken. We strongly recommend that teams use Charuco boards instead!
21+
:::
22+
1923
Accurate camera calibration is required in order to get accurate pose measurements when using AprilTags and 3D mode. The tips below should help ensure success:
2024

2125
01. Ensure the images you take have the target in different positions and angles, with as big of a difference between angles as possible. It is important to make sure the target overlay still lines up with the board while doing this. Tilt no more than 45 degrees.

photon-client/src/components/cameras/CameraCalibrationCard.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,16 @@ const setSelectedVideoFormat = (format: VideoFormat) => {
311311
:items="['Chessboard', 'Charuco']"
312312
:disabled="isCalibrating"
313313
/>
314+
<v-alert
315+
v-if="boardType !== CalibrationBoardTypes.Charuco"
316+
closable
317+
density="compact"
318+
variant="tonal"
319+
color="warning"
320+
icon="mdi-alert-box"
321+
text="The usage of chessboards can result in bad calibration results if multiple
322+
similar images are taken. We strongly recommend that teams use Charuco boards instead!"
323+
/>
314324
<pv-select
315325
v-if="boardType !== CalibrationBoardTypes.Charuco"
316326
v-model="useCameraSettingsStore().currentPipelineSettings.streamingFrameDivisor"

0 commit comments

Comments
 (0)