Replaying an Episode

Now try to replay the first recorded episode on your robot:

uv run lerobot-replay \
    --robot.type=widowxai_follower_robot \
    --robot.ip_address=192.168.1.4 \
    --robot.id=follower \
    --dataset.repo_id=${HF_USER}/<dataset-id> \
    --dataset.episode=0

Replay Configuration

When using the robot in replay mode you can specify command line arguments to customize the behavior:

  • --dataset.repo_id (str): Dataset identifier. By convention, it should match {hf_username}/{dataset_name} (e.g. lerobot/test). (default: None)

  • --dataset.episode (int): Episode to replay. (default: None)

  • --dataset.root (str | Path | None): Root directory where the dataset will be stored (e.g. ‘dataset/path’). (default: None)

  • --dataset.fps (int): Limit the frames per second. By default, uses the policy FPS. (default: 30)