Giter VIP home page Giter VIP logo

himloco's Introduction

Learning-based Locomotion Control from OpenRobotLab

This repository contains learning-based locomotion control research from OpenRobotLab, currently including Hybrid Internal Model & H-Infinity Locomotion Control.

๐Ÿ”ฅ News

  • [2024-04] Code of HIMLoco is released.
  • [2024-04] We release the paper of H-Infinity Locomotion Control. Please check the ๐Ÿ‘‰ webpage ๐Ÿ‘ˆ and view our demos! ๐ŸŽ‡
  • [2024-01] HIMLoco is accepted by ICLR 2024.
  • [2023-12] We release the paper of HIMLoco. Please check the ๐Ÿ‘‰ webpage ๐Ÿ‘ˆ and view our demos! ๐ŸŽ‡

๐Ÿ“ TODO List

  • Release the training code of HIMLoco, please see rsl_rl/rsl_rl/algorithms/him_ppo.py.
  • Release deployment guidance of HIMLoco.
  • Release the training code of H-Infinity Locomotion Control.
  • Release deployment guidance of H-Infinity Locomotion Control.

๐Ÿ“š Getting Started

Installation

We test our codes under the following environment:

  • Ubuntu 20.04
  • NVIDIA Driver: 525.147.05
  • CUDA 12.0
  • Python 3.7.16
  • PyTorch 1.10.0+cu113
  • Isaac Gym: Preview 4
  1. Create an environment and install PyTorch:
  • conda create -n himloco python=3.7.16
  • conda activate himloco
  • pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
  1. Install Isaac Gym:
  1. Clone this repository.
  • git clone https://github.com/OpenRobotLab/HIMLoco.git
  • cd HIMLoco
  1. Install HIMLoco.
  • cd rsl_rl && pip install -e .
  • cd ../legged_gym && pip install -e .

Note: Please use legged_gym and rsl_rl provided in this repo, we have modefications on these repos.

Tutorial

  1. Train a policy:
  • cd legged_gym/legged_gym/scripts
  • python train.py
  1. Play and export the latest policy:
  • cd legged_gym/legged_gym/scripts
  • python play.py

๐Ÿ”— Citation

If you find our work helpful, please cite:

@inproceedings{long2023him,
  title={Hybrid Internal Model: Learning Agile Legged Locomotion with Simulated Robot Response},
  author={Long, Junfeng and Wang, ZiRui and Li, Quanyi and Cao, Liu and Gao, Jiawei and Pang, Jiangmiao},
  booktitle={The Twelfth International Conference on Learning Representations},
  year={2024}
}

@misc{long2024hinf,
  title={Learning H-Infinity Locomotion Control}, 
  author={Junfeng Long and Wenye Yu and Quanyi Li and Zirui Wang and Dahua Lin and Jiangmiao Pang},
  year={2024},
  eprint={2404.14405},
  archivePrefix={arXiv},
}

๐Ÿ“„ License

Creative Commons License
This work is under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

๐Ÿ‘ Acknowledgements

  • legged_gym: Our codebase is built upon legged_gym.

himloco's People

Contributors

junfeng-long avatar oceanpang avatar fan-ziqi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.