[Project page] [Paper] [Hardware Guide]
Zi Yin, Fanhong Li, Shurui Zheng, Jia Liu
Tsinghua University
- Print and Assemble the Hardware
- Set Up the Hardware Driver: refer to the rapid_driver repository
- Collect Demonstration Data: follow the instructions below
UMI-style Go Pro pipeline: https://github.com/aod321/zumi_pipeline
iPhone pipeline: Coming soon
-
Follow the installation instructions in the original UMI repository.
-
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]
Options:
- Realman RM75: Please contact us for integration details.
- UR5: Community contributions welcome.
- Franka Panda: Community contributions welcome.
Hardware:
-
Ref Controller Firmware: https://github.com/aod321/50_arm_dummy-ref-core-fw
-
Set DM3510 ID before integrating RAPID into this robot:
SLAVE_ID = 0x37 MASTER_ID = 0x47
-
-
Main Camera and Gripper Camera: logitech c922 pro
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]
This project builds upon the following outstanding work:
