Official implementation for ForceCapture in the paper ForceMimic: Force-Centric Imitation Learning with Force-Motion Capture System for Contact-Rich Manipulation, accepted by ICRA 2025.
For more information, please visit our project website.
Download the fixed-tool version assets from Onshape and print them as needed. The force-torque sensor used here is an inner product by Flexiv, but you can easily replace it with a commonly-used alternative, like ATI. The SLAM camera used here is Intel RealSense T265, and the observation camera used here is Intel RealSense L515, while they are discontinued. And the angle encoder used here is by pdcd.
git clone git@github.com:ForceMimic/forcecapture.git --recurse-submodules
cd forcecapture
# `main` branch for fixed-tool version, `git checkout gripper` to `gripper` branch for gripper version
conda create -n focap python=3.10
conda activate focap
cd r3kit
pip install -e .
cd ..
pip install -r requirements.txtpython tare_pyft.py --config configs/tare_pyft.txt
python test_tare_pyft.py --config configs/tare_pyft.txtpython collect_data.py --config configs/collect.txtNOTE: During collection, use
htopto watch memory usage, and usesudo syncandsudo sysctl -w vm.drop_caches=3to free memory.
python visualize_data.py --config configs/visualize.txt # also be used as annotation
python create_hdf5.py --config configs/hdf5.txt
python visualize_hdf5.py --config configs/visualize_hdf5.txt
python merge_hdf5.py --config configs/merge.txt
python visualize_merge.py --config configs/visualize_merge.txtYou can download our processed dataset from Google Drive.
Our design and implementation are inspired by DexCap and UMI. Kudos to the authors for their amazing contributions.
If you find our work useful, please consider citing:
@inproceedings{liu2025forcemimic,
author={Liu, Wenhai and Wang, Junbo and Wang, Yiming and Wang, Weiming and Lu, Cewu},
booktitle={2025 IEEE International Conference on Robotics and Automation (ICRA)},
title={ForceMimic: Force-Centric Imitation Learning with Force-Motion Capture System for Contact-Rich Manipulation},
year={2025}
}This repository is released under the MIT license.
