Awesome
Rofunc: The Full Process Python Package for Robot Learning from Demonstration and Robot Manipulation
Repository address: https://github.com/Skylark0924/Rofunc <br> Documentation: https://rofunc.readthedocs.io/
<img src="doc/img/task_gif3/CURIQbSoftHandSynergyGraspSpatulaRofuncRLPPO.gif" width=25% /><img src="doc/img/task_gif3/CURIQbSoftHandSynergyGraspPower_drillRofuncRLPPO.gif" width=25% /><img src="doc/img/task_gif3/CURIQbSoftHandSynergyGraspPhillips_Screw_DriverRofuncRLPPO.gif" width=25% /><img src="doc/img/task_gif3/CURIQbSoftHandSynergyGraspLarge_clampRofuncRLPPO.gif" width=25% /> <img src="doc/img/task_gif3/CURICoffeeStirring.gif" width=33.3% /><img src="doc/img/task_gif3/CURIScrew.gif" width=33.3% /><img src="doc/img/task_gif3/CURITaichiPushingHand.gif" width=33.3% /> <img src="doc/img/task_gif3/HOTU_Random_Motion.gif" width=25% /><img src="doc/img/task_gif3/H1_Random_Motion.gif" width=25% /><img src="doc/img/task_gif3/Bruce_Random_Motion.gif" width=25% /><img src="doc/img/task_gif3/Walker_Random_Motion.gif" width=25% /> <img src="doc/img/task_gif3/HumanoidFlipRofuncRLAMP.gif" width=33.3% /><img src="doc/img/task_gif3/HumanoidDanceRofuncRLAMP.gif" width=33.3% /><img src="doc/img/task_gif3/HumanoidRunRofuncRLAMP.gif" width=33.3% /> <img src="doc/img/task_gif3/HumanoidASEHeadingSwordShieldRofuncRLASE.gif" width=33.3% /><img src="doc/img/task_gif3/HumanoidASEStrikeSwordShieldRofuncRLASE.gif" width=33.3% /><img src="doc/img/task_gif3/HumanoidASELocationSwordShieldRofuncRLASE.gif" width=33.3% /> <img src="doc/img/task_gif3/BiShadowHandLiftUnderarmRofuncRLPPO.gif" width=33.3% /><img src="doc/img/task_gif3/BiShadowHandDoorOpenOutwardRofuncRLPPO.gif" width=33.3% /><img src="doc/img/task_gif3/BiShadowHandSwingCupRofuncRLPPO.gif" width=33.3% />
Rofunc package focuses on the Imitation Learning (IL), Reinforcement Learning (RL) and Learning from Demonstration (LfD) for (Humanoid) Robot Manipulation. It provides valuable and convenient python functions, including
demonstration collection, data pre-processing, LfD algorithms, planning, and control methods. We also provide an
IsaacGym
and OmniIsaacGym
based robot simulator for evaluation. This package aims to advance the field by building a full-process
toolkit and validation platform that simplifies and standardizes the process of demonstration data collection,
processing, learning, and its deployment on robots.
- Rofunc: The Full Process Python Package for Robot Learning from Demonstration and Robot Manipulation
Citation
If you use rofunc in a scientific publication, we would appreciate citations to the following paper:
@software{liu2023rofunc,ย
title = {Rofunc: The Full Process Python Package for Robot Learning from Demonstration and Robot Manipulation},
author = {Liu, Junjia and Dong, Zhipeng and Li, Chenzui and Li, Zhihao and Yu, Minghao and Delehelle, Donatien and Chen, Fei},
year = {2023},
publisher = {Zenodo},
doi = {10.5281/zenodo.10016946},
url = {https://doi.org/10.5281/zenodo.10016946},
dimensions = {true},
google_scholar_id = {0EnyYjriUFMC},
}
[!WARNING] If our code is found to be used in a published paper without proper citation, we reserve the right to address this issue formally by contacting the editor to report potential academic misconduct!
ๅฆๆๆไปฌ็ไปฃ็ ่ขซๅ็ฐ็จไบๅทฒๅ่กจ็่ฎบๆ่ๆฒกๆ่ขซๆฐๅฝๅผ็จ๏ผๆไปฌไฟ็้่ฟๆญฃๅผ่็ณป็ผ่พๆฅๅๆฝๅจๅญฆๆฏไธ็ซฏ่กไธบ็ๆๅฉใ
Update News ๐๐๐
v0.0.2.6 Support dexterous grasping and human-humanoid robot skill transfer
- [2024-06-30] ๐๐ Human-level skill transfer from human to heterogeneous humanoid robots have been completed and are awaiting release. Preview
- [2024-01-24] ๐ CURI Synergy-based Softhand grasping tasks are supported to be trained by
RofuncRL
. - [2023-12-03] ๐ผ๏ธ Segment-Anything (SAM) is supported in an interactive mode, check the examples in Visualab (segment anything, segment with prompt).
- [2023-10-31] ๐
RofuncRL
: A modular easy-to-use Reinforcement Learning sub-package designed for Robot Learning tasks is released. It has been tested with simulators likeOpenAIGym
,IsaacGym
,OmniIsaacGym
(see example gallery), and also differentiable simulators likePlasticineLab
andDiffCloth
. - ...
- If you want to know more about the update news, please refer to the changelog.
Installation
Please refer to the installation guide.
Documentation
To give you a quick overview of the pipeline of rofunc
, we provide an interesting example of learning to play Taichi
from human demonstration. You can find it in the Quick start
section of the documentation.
Note โ : Achieved ๐: Reformatting โ: TODO
RofuncRL
RofuncRL
is one of the most important sub-packages of Rofunc
. It is a modular easy-to-use Reinforcement Learning sub-package designed for Robot Learning tasks. It has been tested with simulators like OpenAIGym
, IsaacGym
, OmniIsaacGym
(see example gallery), and also differentiable simulators like PlasticineLab
and DiffCloth
. Here is a list of robot tasks trained by RofuncRL
:
<details> <summary>The list of all supported tasks.</summary>Note
You can customize your own project based on RofuncRL by following the RofuncRL customize tutorial.
We also provide a RofuncRL-based repository template to generate your own repository following the RofuncRL structure by one click.
For more details, please check the documentation for RofuncRL.
Tasks | Animation | Performance | ModelZoo |
---|---|---|---|
Ant | โ | ||
Cartpole | |||
Franka<br/>Cabinet | โ | ||
Franka<br/>CubeStack | |||
CURI<br/>Cabinet | โ | ||
CURI<br/>CabinetImage | |||
CURI<br/>CabinetBimanual | |||
CURIQbSoftHand<br/>SynergyGrasp | <img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspLarge_clampRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspSpatulaRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspPhillips_Screw_DriverRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspScissorsRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspKnifeRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspHammerRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspPower_drillRofuncRLPPO.gif" width=48% /><img src="doc/img/task_gifs/CURIQbSoftHandSynergyGraspMugRofuncRLPPO.gif" width=48% /> | โ | |
Humanoid | โ | ||
HumanoidAMP<br/>Backflip | โ | ||
HumanoidAMP<br/>Walk | โ | ||
HumanoidAMP<br/>Run | โ | ||
HumanoidAMP<br/>Dance | โ | ||
HumanoidAMP<br/>Hop | โ | ||
HumanoidASE<br/>GetupSwordShield | โ | ||
HumanoidASE<br/>PerturbSwordShield | โ | ||
HumanoidASE<br/>HeadingSwordShield | โ | ||
HumanoidASE<br/>LocationSwordShield | โ | ||
HumanoidASE<br/>ReachSwordShield | โ | ||
HumanoidASE<br/>StrikeSwordShield | โ | ||
BiShadowHand<br/>BlockStack | โ | ||
BiShadowHand<br/>BottleCap | โ | ||
BiShadowHand<br/>CatchAbreast | โ | ||
BiShadowHand<br/>CatchOver2Underarm | โ | ||
BiShadowHand<br/>CatchUnderarm | โ | ||
BiShadowHand<br/>DoorOpenInward | โ | ||
BiShadowHand<br/>DoorOpenOutward | โ | ||
BiShadowHand<br/>DoorCloseInward | โ | ||
BiShadowHand<br/>DoorCloseOutward | โ | ||
BiShadowHand<br/>GraspAndPlace | โ | ||
BiShadowHand<br/>LiftUnderarm | โ | ||
BiShadowHand<br/>HandOver | โ | ||
BiShadowHand<br/>Pen | โ | ||
BiShadowHand<br/>PointCloud | |||
BiShadowHand<br/>PushBlock | โ | ||
BiShadowHand<br/>ReOrientation | โ | ||
BiShadowHand<br/>Scissors | โ | ||
BiShadowHand<br/>SwingCup | โ | ||
BiShadowHand<br/>Switch | โ | ||
BiShadowHand<br/>TwoCatchUnderarm | โ |
Star History
Related Papersย ย ย ย ย ย ย ย ย ย
- Robot cooking with stir-fry: Bimanual non-prehensile manipulation of semi-fluid objects (IEEE RA-L 2022 | Code)
@article{liu2022robot,
title={Robot cooking with stir-fry: Bimanual non-prehensile manipulation of semi-fluid objects},
author={Liu, Junjia and Chen, Yiting and Dong, Zhipeng and Wang, Shixiong and Calinon, Sylvain and Li, Miao and Chen, Fei},
journal={IEEE Robotics and Automation Letters},
volume={7},
number={2},
pages={5159--5166},
year={2022},
publisher={IEEE}
}
- SoftGPT: Learn Goal-oriented Soft Object Manipulation Skills by Generative Pre-trained Heterogeneous Graph Transformer (IROS 2023๏ฝCode coming soon)
@inproceedings{liu2023softgpt,
title={Softgpt: Learn goal-oriented soft object manipulation skills by generative pre-trained heterogeneous graph transformer},
author={Liu, Junjia and Li, Zhihao and Lin, Wanyu and Calinon, Sylvain and Tan, Kay Chen and Chen, Fei},
booktitle={2023 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
pages={4920--4925},
year={2023},
organization={IEEE}
}
- BiRP: Learning Robot Generalized Bimanual Coordination using Relative Parameterization Method on Human Demonstration (IEEE CDC 2023 | Code)
@inproceedings{liu2023birp,
title={Birp: Learning robot generalized bimanual coordination using relative parameterization method on human demonstration},
author={Liu, Junjia and Sim, Hengyi and Li, Chenzui and Tan, Kay Chen and Chen, Fei},
booktitle={2023 62nd IEEE Conference on Decision and Control (CDC)},
pages={8300--8305},
year={2023},
organization={IEEE}
}
The Team
Rofunc is developed and maintained by the CLOVER Lab (Collaborative and Versatile Robots Laboratory), CUHK.
Acknowledge
We would like to acknowledge the following projects: