Skip to content

Commit 8fcdbf6

Browse files
committed
align depth camera to rgb camera for realsense d436
1 parent 871fda7 commit 8fcdbf6

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/synthnova_config/src/synthnova_config/sensor/realsense_d436.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,31 @@ class RealsenseD436DepthSensorConfig(DepthSensorConfig):
6969
"""
7070
Configuration class for the RealSense D436 Depth camera.
7171
72-
Intrinsics of "Depth" / 1280x720 / {Z16}:
72+
Intrinsics of "Color" / 1280x720 / {YUYV/RGB8/BGR8/RGBA8/BGRA8/Y8}:
7373
- Width: 1280
7474
- Height: 720
75-
- PPX: 643.402221679688
76-
- PPY: 355.124542236328
77-
- Fx: 641.102600097656
78-
- Fy: 641.102600097656
79-
- Distortion: Brown Conrady (using plumb_bob model)
75+
- PPX: 636.495544433594
76+
- PPY: 363.409881591797
77+
- Fx: 638.315795898438
78+
- Fy: 637.68310546875
79+
- Distortion: Inverse Brown Conrady (using plumb_bob model)
8080
- Coeffs: [0.0, 0.0, 0.0, 0.0, 0.0]
81-
- FOV (deg): 89.9 x 58.63
81+
- FOV (deg): 90.15 x 58.89
8282
"""
8383

84-
frequency: int = 30
85-
width: int = 1280
86-
height: int = 720
87-
fx: float = 641.102600097656
88-
fy: float = 641.102600097656
89-
cx: float = 643.402221679688
90-
cy: float = 355.124542236328
91-
pixel_size: float = 0.003
92-
f_stop: float = 0.0
93-
focus_distance: float = 0.0
94-
projection_type: Literal["pinhole"] = "pinhole"
95-
clipping_range: List[float] = [0.05, 15.0]
96-
distortion_model: Literal["plumb_bob"] = "plumb_bob"
97-
distortion_coefficients: List[float] = [0.0, 0.0, 0.0, 0.0, 0.0]
98-
horizontal_fov: float = 89.9
99-
vertical_fov: float = 58.63
84+
frequency: float | None = 30.0
85+
width: int | None = 1280
86+
height: int | None = 720
87+
fx: float | None = 638.315795898438
88+
fy: float | None = 637.68310546875
89+
cx: float | None = 636.495544433594
90+
cy: float | None = 363.409881591797
91+
pixel_size: float | None = 0.003
92+
f_stop: float | None = 0.0
93+
focus_distance: float | None = 0.0
94+
projection_type: str | None = "pinhole"
95+
clipping_range: list[float] | None = [0.05, 15.0]
96+
distortion_model: str | None = "plumb_bob"
97+
distortion_coefficients: list[float] | None = [0.0, 0.0, 0.0, 0.0, 0.0]
98+
horizontal_fov: float | None = 90.15
99+
vertical_fov: float | None = 58.89

0 commit comments

Comments
 (0)