diff --git a/docs/source/lekiwi.md b/docs/source/lekiwi.md index 05dc5b05..2ef0f310 100644 --- a/docs/source/lekiwi.md +++ b/docs/source/lekiwi.md @@ -93,7 +93,7 @@ Make sure the arm is connected to the Raspberry Pi and run this script or API ex ```bash python -m lerobot.calibrate \ --robot.type=lekiwi \ - --robot.port=/dev/tty.usbmodem58760431551 \ # <- The port of your robot + --robot.port=/dev/ttyACM0 \ # <- The port of your robot --robot.id=my_awesome_kiwi # <- Give the robot a unique name ``` diff --git a/lerobot/common/robots/lekiwi/config_lekiwi.py b/lerobot/common/robots/lekiwi/config_lekiwi.py index 946718a1..c16f5433 100644 --- a/lerobot/common/robots/lekiwi/config_lekiwi.py +++ b/lerobot/common/robots/lekiwi/config_lekiwi.py @@ -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 ), } )