Skip to content

TimeoutError: Timed out waiting for frame from camera OpenCVCamera(0) after 200 ms. Read thread alive: True #1675

Description

@CrossyNautilus

System Info

LeRobot version: f771e3eaf1b30aae65768513b2e67d351f5f6c2f
OS: MacOS Ventura 13.3.1
Python version: 3.10.18
Numpy version: 2.2.6
Torch version: 2.7.1
LeRobot configuration:
`lerobot` version: 0.3.2
- Platform: macOS-13.3.1-arm64-arm-64bit
- Python version: 3.10.18
- Huggingface_hub version: 0.34.3
- Dataset version: 3.6.0
- Numpy version: 2.2.6
- PyTorch version (GPU?): 2.7.1 (False)
- Cuda version: N/A
- Using GPU in script?: <fill in>

Information

  • One of the scripts in the examples/ folder of LeRobot
  • My own task or dataset (give details below)

Reproduction

python -m lerobot.record
--robot.type=so100_follower
--robot.port=/dev/tty.usbmodem58CD1770331
--robot.id=my_awesome_follower_arm
--robot.cameras="{ wrist.right: {type: opencv, index_or_path: 0, width: 1920, height: 1080, fps: 30}, top: {type: opencv, index_or_path: 1, width: 1920, height: 1080, fps: 30}}"
--teleop.type=so100_leader
--teleop.port=/dev/tty.usbmodem58CD1770511
--teleop.id=my_awesome_leader_arm
--display_data=true
--dataset.repo_id=${HF_USER}/record-test
--dataset.num_episodes=5
--dataset.single_task="Stack the yellow birdie"

Expected behavior

I expect to be able to record a dataset, but it randomly disconnects between 5-20 seconds after running the script above and displays the error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working correctlysensorsEverything related to sensors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions