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

@@ -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
```
</hfoption>

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
),
}
)