Future depth work

This commit is contained in:
glannuzel
2025-07-29 14:40:10 +02:00
parent 042e34898a
commit 096cdeb8ad
2 changed files with 11 additions and 0 deletions
@@ -56,6 +56,7 @@ class Reachy2CameraConfig(CameraConfig):
rotation: Cv2Rotation = Cv2Rotation.NO_ROTATION
ip_address: str | None = "localhost"
port: int = 50065
# use_depth: bool = False
def __post_init__(self):
if self.color_mode not in ["rgb", "bgr"]:
@@ -61,6 +61,16 @@ class Reachy2RobotConfig(RobotConfig):
color_mode=ColorMode.RGB,
rotation=Cv2Rotation.NO_ROTATION
),
# "torso_depth": Reachy2CameraConfig(
# name="depth",
# image_type="depth",
# fps=30,
# width=640,
# height=480,
# color_mode=ColorMode.RGB,
# rotation=Cv2Rotation.NO_ROTATION,
# use_depth=True
# )
}
)