From d7f5224f265fe2f7f2caf020364d09b1a80b6c57 Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Sat, 26 Apr 2025 16:48:31 -0400 Subject: [PATCH 1/3] Fun little camera pose viewer --- .../docs/quick-start/camera-calibration.md | 307 +++++++++++++++++- 1 file changed, 305 insertions(+), 2 deletions(-) diff --git a/docs/source/docs/quick-start/camera-calibration.md b/docs/source/docs/quick-start/camera-calibration.md index 8d902b9a96..6c8a1e4a23 100644 --- a/docs/source/docs/quick-start/camera-calibration.md +++ b/docs/source/docs/quick-start/camera-calibration.md @@ -1,7 +1,7 @@ # Camera Calibration -:::{important} -In order to detect AprilTags and use 3D mode, your camera must be calibrated at the desired resolution! Inaccurate calibration will lead to poor performance. +:::{important} In order to detect AprilTags and use 3D mode, your camera must be calibrated at the desired resolution! Inaccurate calibration will lead to poor performance. + ::: If you’re not using cameras in 3D mode, calibration is optional, but it can still offer benefits. Calibrating cameras helps refine the pitch and yaw values, leading to more accurate positional data in every mode. {ref}`For a more in-depth view`. @@ -31,3 +31,306 @@ If you’re not using cameras in 3D mode, calibration is optional, but it can st - A couple of up close images is good. - Cover the entire cameras fov. - Avoid images with the board facing straight towards the camera. + +## Interactive Camera Transformation Demo + +Below is an interactive demo to visualize multiple cameras' positions and orientations relative to the robot chassis. Use the table to adjust each camera's transformation parameters (position and rotation). + +
+ + + + + + + + + + + + + + + + + + + + + + + +
CameraPosition XPosition YPosition ZRoll (deg)Pitch (deg)Yaw (deg)
Camera 0
+ + +
+ +
+ + + From 1ad21bd50cc6d913e888fd57788568d03ebfcddd Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Sun, 27 Apr 2025 00:50:53 -0400 Subject: [PATCH 2/3] Switch to orthographic --- .../docs/quick-start/camera-calibration.md | 110 +++++++----------- 1 file changed, 40 insertions(+), 70 deletions(-) diff --git a/docs/source/docs/quick-start/camera-calibration.md b/docs/source/docs/quick-start/camera-calibration.md index 6c8a1e4a23..894215803a 100644 --- a/docs/source/docs/quick-start/camera-calibration.md +++ b/docs/source/docs/quick-start/camera-calibration.md @@ -32,14 +32,14 @@ If you’re not using cameras in 3D mode, calibration is optional, but it can st - Cover the entire cameras fov. - Avoid images with the board facing straight towards the camera. -## Interactive Camera Transformation Demo +## Interactive Camera Transformation Below is an interactive demo to visualize multiple cameras' positions and orientations relative to the robot chassis. Use the table to adjust each camera's transformation parameters (position and rotation). -
+
- + @@ -50,35 +50,32 @@ Below is an interactive demo to visualize multiple cameras' positions and orient - - - - - - - - -
Camera Position X Position Y
Camera 0
-
- -
-