diff --git a/lerobot/common/robots/lekiwi/config_lekiwi.py b/lerobot/common/robots/lekiwi/config_lekiwi.py index c16f5433..80a1f4ca 100644 --- a/lerobot/common/robots/lekiwi/config_lekiwi.py +++ b/lerobot/common/robots/lekiwi/config_lekiwi.py @@ -14,7 +14,7 @@ from dataclasses import dataclass, field -from lerobot.common.cameras.configs import CameraConfig +from lerobot.common.cameras.configs import CameraConfig, Cv2Rotation from lerobot.common.cameras.opencv.configuration_opencv import OpenCVCameraConfig from ..config import RobotConfig @@ -34,11 +34,9 @@ class LeKiwiConfig(RobotConfig): cameras: dict[str, CameraConfig] = field( default_factory=lambda: { - "front": OpenCVCameraConfig( - index_or_path="/dev/video0", fps=30, width=640, height=480, rotation=None - ), + "front": OpenCVCameraConfig(index_or_path="/dev/video0", fps=30, width=640, height=480), "wrist": OpenCVCameraConfig( - index_or_path="/dev/video2", fps=30, width=640, height=480, rotation=180 + index_or_path="/dev/video2", fps=30, width=640, height=480, rotation=Cv2Rotation.ROTATE_90 ), } )