The Full Process Python Package for Robot Learning from Demonstration
Project description
Rofunc: The Full Process Python Package for Robot Learning from Demonstration and Robot Manipulation
Repository address: https://github.com/Skylark0924/Rofunc
Rofunc package focuses on the robotic Imitation Learning (IL) and Learning from Demonstration (LfD) fields and provides valuable and convenient python functions for robotics, including demonstration collection, data pre-processing, LfD algorithms, planning, and control methods. We also provide an Isaac Gym-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.
Installation
Install from PyPI (stable version)
The installation is very easy,
pip install rofunc
and as you'll find later, it's easy to use as well!
import rofunc as rf
Thus, have fun in the robotics world!
Note Several requirements need to be installed before using the package. Please refer to the installation guide for more details.
Install from Source (nightly version)
git clone https://github.com/Skylark0924/Rofunc.git
cd Rofunc
# Create a conda environment
# Python 3.8 is strongly recommended
conda create -n rofunc python=3.8
sh ./scripts/install.sh
Note If you want to use functions related to ZED camera, you need to install ZED SDK manually. (We have tried to package it as a
.whl
file to add it torequirements.txt
, unfortunately, the ZED SDK is not very friendly and doesn't support direct installation.)
Documentation
Note Currently, we provide a simple document; please refer to here. A comprehensive one with both English and Chinese versions is built via the readthedoc. We provide a simple but interesting example: learning to play Taichi by learning from human demonstration.
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.
The available functions and plans can be found as follows.
Note โ : Achieved ๐: Reformatting โ: TODO
Data | Learning | P&C | Tools | Simulator | |||||
---|---|---|---|---|---|---|---|---|---|
xsens.record |
โ | DMP |
โ | LQT |
โ | Config |
โ | Franka |
โ |
xsens.export |
โ | GMR |
โ | LQTBi |
โ | robolab.fk |
โ | CURI |
โ |
xsens.visual |
โ | TPGMM |
โ | LQTFb |
โ | robolab.ik |
โ | CURIMini |
๐ |
opti.record |
โ | TPGMMBi |
โ | LQTCP |
โ | robolab.fd |
โ | CURISoftHand |
๐ |
opti.export |
โ | TPGMM_RPCtl |
โ | LQTCPDMP |
โ | robolab.id |
โ | Walker |
โ |
opti.visual |
โ | TPGMM_RPRepr |
โ | LQR |
โ | robolab.tran |
โ | Gluon |
๐ |
zed.record |
โ | TPGMR |
โ | PoGLQRBi |
โ | visualab.dist |
โ | Baxter |
๐ |
zed.export |
โ | TPGMRBi |
โ | iLQR |
๐ | visualab.ellip |
โ | Sawyer |
๐ |
zed.visual |
โ | BCO |
๐ | iLQRBi |
๐ | visualab.traj |
โ | Multi-Robot |
โ |
emg.record |
โ | STrans |
โ | iLQRFb |
๐ | ||||
emg.export |
โ | PPO(SKRL) |
โ | iLQRCP |
๐ | ||||
emg.visual |
โ | SAC(SKRL) |
โ | iLQRDyna |
๐ | ||||
mmodal.record |
โ | TD3(SKRL) |
โ | iLQRObs |
๐ | ||||
mmodal.export |
โ | PPO(SB3) |
โ | MPC |
โ | ||||
SAC(SB3) |
โ | CIO |
โ | ||||||
TD3(SB3) |
โ | ||||||||
PPO(RLlib) |
โ | ||||||||
SAC(RLlib) |
โ | ||||||||
TD3(RLlib) |
โ | ||||||||
PPO(ElegRL) |
โ | ||||||||
SAC(ElegRL) |
โ | ||||||||
TD3(ElegRL) |
โ | ||||||||
PPO(RofuncRL) |
๐ | ||||||||
SAC(RofuncRL) |
โ | ||||||||
TD3(RofuncRL) |
โ | ||||||||
CQL(RofuncRL) |
โ |
Star History
Cite
If you use rofunc in a scientific publication, we would appreciate citations to the following paper:
@misc{Rofunc2022,
author = {Liu, Junjia and Li, Zhihao and Li, Chenzui and Delehelle, Donatien and Chen, Fei},
title = {Rofunc: The full process python package for robot learning from demonstration and robot manipulation},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/Skylark0924/Rofunc}},
}
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:
Learning from Demonstration
Planning and Control
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rofunc-0.0.1.5.tar.gz
.
File metadata
- Download URL: rofunc-0.0.1.5.tar.gz
- Upload date:
- Size: 98.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e86cda44e43e40eabc53b971b21701ec243a5b507a01e912f66ffec2c2ca8a |
|
MD5 | 11451d65c6f28f61f73427a0219450be |
|
BLAKE2b-256 | cec9bf4ba6c1a41f1504d5c5d741d9e8b6bff60361b7f68625999c2d4cdc74d9 |
File details
Details for the file rofunc-0.0.1.5-py3-none-any.whl
.
File metadata
- Download URL: rofunc-0.0.1.5-py3-none-any.whl
- Upload date:
- Size: 99.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0af613814bac5a5d03e0dbc63ba41586a25ed285d324156ad2609c0c3670e5c |
|
MD5 | 7137505157dad57e3af28e53c0c1018b |
|
BLAKE2b-256 | 84b1c09c084e87769f4a3d107e56ab24d8d7d0ba13316a5606d3daa3341c8632 |