fix for lekiwi config camera index name

This commit is contained in:
Pepijn
2025-05-16 13:24:21 +02:00
committed by Steven Palma
parent 5e160be3cc
commit ca82e9aebf
2 changed files with 3 additions and 3 deletions

View File

@@ -35,10 +35,10 @@ class LeKiwiConfig(RobotConfig):
cameras: dict[str, CameraConfig] = field(
default_factory=lambda: {
"front": OpenCVCameraConfig(
camera_index="/dev/video0", fps=30, width=640, height=480, rotation=None
index_or_path="/dev/video0", fps=30, width=640, height=480, rotation=None
),
"wrist": OpenCVCameraConfig(
camera_index="/dev/video2", fps=30, width=640, height=480, rotation=180
index_or_path="/dev/video2", fps=30, width=640, height=480, rotation=180
),
}
)