Skip to content

aod321/rapid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RAPID: Reconfigurable, Adaptive Platform for Iterative Design

[Project page] [Paper] [Hardware Guide]

Zi Yin, Fanhong Li, Shurui Zheng, Jia Liu

Tsinghua University

Getting Started

  1. Print and Assemble the Hardware
  2. Set Up the Hardware Driver: refer to the rapid_driver repository
  3. Collect Demonstration Data: follow the instructions below

Handheld Pipeline (Recommended)

Stage 1: Data Collection

UMI-style Go Pro pipeline: https://github.com/aod321/zumi_pipeline

iPhone pipeline: Coming soon

Stage 2: Training

  1. Follow the installation instructions in the original UMI repository.

  2. Place the Zarr dataset obtained from Stage 1 into the workspace directory, then run:

    python train.py --config-name=train_diffusion_unet_timm_umi_workspace task.dataset_path=[ZARR DATASET PATH]

Stage 3: Inference

Options:

  1. Realman RM75: Please contact us for integration details.
  2. UR5: Community contributions welcome.
  3. Franka Panda: Community contributions welcome.

LeRobot Pipeline

Hardware:

Software:

https://github.com/aod321/lerobot

  • Install:
  git clone https://github.com/aod321/lerobot.git
  cd ./lerobot
  uv venv
  uv sync
  • Teleop Data Collection
python scripts/record_dummy.py --resume --camera-index 2 --wrist-camera-index 0 -n 50 --dataset [HUGGINGFACE_DATASET_ID] --camera-width 320 --camera-height 240
  • Training
CUDA_VISIBLE_DEVICES=1 lerobot-train --policy.type=diffusion --dataset.repo_id=[HUGGINGFACE_DATASET_ID] --output_dir=outputs/RAPID_dummy_pick_place_green_cube_GET_0127 --policy.repo_id=[HUGGINGFACE_POLICY_ID]
  • Inference:
lerobot-teleoperate --robot.type=dummy_follower --robot.serial_number=396636713233 --robot.cameras='{"top":{"type": "opencv", "index_or_path": 0, "width": 320, "height": 240, "fps": 30}, "wrist": {"type": "opencv","index_or_path": 2, "width": 320, "height": 240, "fps": 30}}' --policy.path=[HUGGINGFACE_POLICY_ID]

Acknowledgements

This project builds upon the following outstanding work:

About

RAPID: Reconfigurable, Adaptive Platform for Iterative Design

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors