change opencv to realsense camera
Some checks failed
Secret Leaks / trufflehog (push) Has been cancelled
Some checks failed
Secret Leaks / trufflehog (push) Has been cancelled
This commit is contained in:
@@ -708,18 +708,33 @@ class RealmanRobotConfig(RobotConfig):
|
|||||||
|
|
||||||
cameras: dict[str, CameraConfig] = field(
|
cameras: dict[str, CameraConfig] = field(
|
||||||
default_factory=lambda: {
|
default_factory=lambda: {
|
||||||
"one": OpenCVCameraConfig(
|
# "one": OpenCVCameraConfig(
|
||||||
camera_index=4,
|
# camera_index=4,
|
||||||
fps=30,
|
|
||||||
width=640,
|
|
||||||
height=480,
|
|
||||||
),
|
|
||||||
# "two": IntelRealSenseCameraConfig(
|
|
||||||
# camera_index=2,
|
|
||||||
# fps=30,
|
# fps=30,
|
||||||
# width=640,
|
# width=640,
|
||||||
# height=480,
|
# 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,
|
|
||||||
# ),
|
|
||||||
# }
|
|
||||||
# )
|
|
||||||
|
|||||||
Reference in New Issue
Block a user