change opencv to realsense camera
Some checks failed
Secret Leaks / trufflehog (push) Has been cancelled

This commit is contained in:
2025-06-12 17:56:21 +08:00
parent f4fec8f51c
commit 80b1a97e4c

View File

@@ -708,18 +708,33 @@ class RealmanRobotConfig(RobotConfig):
cameras: dict[str, CameraConfig] = field(
default_factory=lambda: {
"one": OpenCVCameraConfig(
camera_index=4,
fps=30,
width=640,
height=480,
),
# "two": IntelRealSenseCameraConfig(
# camera_index=2,
# "one": OpenCVCameraConfig(
# camera_index=4,
# fps=30,
# width=640,
# height=480,
# ),
"left": IntelRealSenseCameraConfig(
serial_number="153122077516",
fps=30,
width=640,
height=480,
use_depth=False
),
"right": IntelRealSenseCameraConfig(
serial_number="405622075165",
fps=30,
width=640,
height=480,
use_depth=False
),
"front": IntelRealSenseCameraConfig(
serial_number="145422072751",
fps=30,
width=640,
height=480,
use_depth=False
),
}
)
@@ -741,20 +756,3 @@ class RealmanRobotConfig(RobotConfig):
# )
# }
# )
# cameras: dict[str, CameraConfig] = field(
# default_factory=lambda: {
# "one": OpenCVCameraConfig(
# camera_index=0,
# fps=30,
# width=640,
# height=480,
# ),
# "two": OpenCVCameraConfig(
# camera_index=2,
# fps=30,
# width=640,
# height=480,
# ),
# }
# )