Skip to main content

Meta-package to install YAM LeRobot plugins

Project description

LeRobot YAM Plugins

YAM follower arm + GELLO leader plugins for LeRobot.

Quickstart

Requirements: CAN interface (e.g. can0) and a GELLO leader (port configurable). GELLO assembly information from gello_mechanical.

pip install -e .
lerobot-teleoperate \
  --robot.type=yam_follower \
  --robot.port=can0 \
  --robot.gripper_type=crank_4310 \
  --teleop.type=yam_leader \
  --teleop.port=/dev/ttyUSB0

Note: this repo expects lerobot 0.4.3 features (plugin discovery in the standard CLIs). If 0.4.3 is not on PyPI, install it from source instead.

Record

lerobot-record \
  --dataset.repo_id=YOUR_USERNAME/yam_teleop \
  --dataset.single_task="Teleop YAM arm (pick/place)" \
  --dataset.fps=30 \
  --dataset.num_episodes=5 \
  --dataset.episode_time_s=60 \
  --dataset.reset_time_s=15 \
  --dataset.push_to_hub=true \
  --robot.type=yam_follower \
  --robot.port=can0 \
  --robot.gripper_type=crank_4310 \
  --teleop.type=yam_leader \
  --teleop.port=/dev/ttyUSB0

Policy Control

lerobot-control \
  --robot.type=yam_follower \
  --robot.port=can0 \
  --policy.path=YOUR_USERNAME/yam-policy

Extras

List cameras:

lerobot-find-cameras opencv

Teleop with cameras + Rerun:

lerobot-teleoperate \
  --robot.type=yam_follower \
  --robot.port=can0 \
  --robot.gripper_type=crank_4310 \
  --robot.cameras='{
    "wrist": {"type": "opencv", "index_or_path": "/dev/video6", "width": 640, "height": 480, "fps": 30},
    "front": {"type": "opencv", "index_or_path": "/dev/video4", "width": 640, "height": 480, "fps": 30}
  }' \
  --teleop.type=yam_leader \
  --teleop.port=/dev/ttyUSB0 \
  --display_data=true

Safety step limits (normalized per‑cycle steps: joints in [-100, 100], gripper in [0, 100]):

--robot.lerobot_max_step=1 \
--robot.lerobot_gripper_max_step=1

Packages

Package Purpose
yam-common Shared YAM utilities
lerobot_robot_yam Follower robot plugin
lerobot_teleoperator_yam_gello Leader teleoperator plugin

Install packages separately if you only need one component (e.g., follower‑only for policy inference).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lerobot_yam-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lerobot_yam-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file lerobot_yam-0.1.1.tar.gz.

File metadata

  • Download URL: lerobot_yam-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lerobot_yam-0.1.1.tar.gz
Algorithm Hash digest
SHA256 adb0b8f6a529aca3a19d835236c45ac1bbf8c2c3ba2f9cae644220b33f247640
MD5 fbdfbf89c10c29d8dbdf291714dfd357
BLAKE2b-256 9d307238ba2d528a597e61342fd5843cb5df3974dd6e5f05188670e92fab4dc1

See more details on using hashes here.

File details

Details for the file lerobot_yam-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lerobot_yam-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lerobot_yam-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65be80fa388da5d5233ec3fd1840e3b3fd333956d41113eb86e5d00e364200b8
MD5 99076b1251feccd86463703492a8702e
BLAKE2b-256 f16aef5c571084c348985f7aa08cd334b119639652453b66915cb01558c42e12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page