fix for lekiwi config camera index name
This commit is contained in:
@@ -93,7 +93,7 @@ Make sure the arm is connected to the Raspberry Pi and run this script or API ex
|
|||||||
```bash
|
```bash
|
||||||
python -m lerobot.calibrate \
|
python -m lerobot.calibrate \
|
||||||
--robot.type=lekiwi \
|
--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
|
--robot.id=my_awesome_kiwi # <- Give the robot a unique name
|
||||||
```
|
```
|
||||||
</hfoption>
|
</hfoption>
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ class LeKiwiConfig(RobotConfig):
|
|||||||
cameras: dict[str, CameraConfig] = field(
|
cameras: dict[str, CameraConfig] = field(
|
||||||
default_factory=lambda: {
|
default_factory=lambda: {
|
||||||
"front": OpenCVCameraConfig(
|
"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(
|
"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
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user