Coder Social home page Coder Social logo

mano_pybullet's Introduction

mano_pybullet

MANO-based hand models for the PyBullet simulator.

Install

From source code

git clone https://github.com/ikalevatykh/mano_pybullet.git
cd mano_pybullet
pip install -e .

or if you plan to use OpenAI gym environments:

pip install -e .[gym]

Run tests

export MANO_MODELS_DIR='/path/to/mano_v*_*/models/'
pytest

Download MANO models

  • Register at the MANO website and download the models.
  • Unzip the file mano_v*_*.zip: unzip mano_v*_*.zip
  • Set environment variable: export MANO_MODELS_DIR=/path/to/mano_v*_*/models/

Hand models

The package provides MANO-based rigid hand model.

TeaTime

Gym environments

The package also provides several OpenAI gym environments:

  • HandEnv - base environment with one or two hands on the scene.

  • HandObjectEnv - base environment with hands and an object on the scene.

  • HandLiftEnv - environment where the target is to lift an object.

HandLiftEnv

  • HandPushEnv - environment where the target is to push an object.

HandPushEnv

Graphical debugging

python -m mano_pybullet.tools.gui_control

usage: GUI debug tool [-h] [--dofs DOFS] [--left-hand] [--right-hand] [--visual-shapes] [--no-visual-shapes] [--self-collisions] [--no-self-collisions]

optional arguments:

  • -h, --help show help message and exit
  • --dofs DOFS number of degrees of freedom (20 or 45) [default=20]
  • --left-hand show left hand
  • --right-hand show right hand [default]
  • --visual-shapes show visual shapes [default]
  • --no-visual-shapes hide visual shapes
  • --self-collisions enable self collisions [default]
  • --no-self-collisions disable self collisions

Citation

If you find mano_pybullet useful in your research, please cite the repository using the following BibTeX entry.

@Misc{kalevatykh2020mano_pybullet,
  author =       {Kalevatykh, Igor et al.},
  title =        {mano_pybullet - porting the MANO hand model to the PyBullet simulator},
  howpublished = {Github},
  year =         {2020},
  url =          {https://github.com/ikalevatykh/mano_pybullet}
}

License

mano_pybullet is released under the GPLv3.

mano_pybullet's People

Contributors

ikalevatykh 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.