Skip to main content

Set of robotic environments based on PyBullet physics engine and gymnasium.

Project description

panda-gym

Set of robotic environments based on PyBullet physics engine and gymnasium.

PyPI version Downloads GitHub build codecov Code style: black arXiv

Documentation

Check out the documentation.

Installation

Using PyPI

pip install panda-gym

From source

git clone https://github.com/qgallouedec/panda-gym.git
pip install -e panda-gym

Usage

import gymnasium as gym
import panda_gym

env = gym.make('PandaReach-v3', render_mode="human")

observation, info = env.reset()

for _ in range(1000):
    action = env.action_space.sample() # random action
    observation, reward, terminated, truncated, info = env.step(action)

    if terminated or truncated:
        observation, info = env.reset()

env.close()

You can also Open in Colab

Environments

PandaReach-v3 PandaPush-v3
PandaReach-v3 PandaPush-v3
PandaSlide-v3 PandaPickAndPlace-v3
PandaSlide-v3 PandaPickAndPlace-v3
PandaStack-v3 PandaFlip-v3
PandaStack-v3 PandaFlip-v3

Baselines results

Baselines results are available in rl-baselines3-zoo and the pre-trained agents in the Hugging Face Hub.

Citation

Cite as

@article{gallouedec2021pandagym,
  title        = {{panda-gym: Open-Source Goal-Conditioned Environments for Robotic Learning}},
  author       = {Gallou{\'e}dec, Quentin and Cazin, Nicolas and Dellandr{\'e}a, Emmanuel and Chen, Liming},
  year         = 2021,
  journal      = {4th Robot Learning Workshop: Self-Supervised and Lifelong Learning at NeurIPS},
}

Environments are widely inspired from OpenAI Fetch environments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panda_gym-3.0.7.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

panda_gym-3.0.7-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file panda_gym-3.0.7.tar.gz.

File metadata

  • Download URL: panda_gym-3.0.7.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.11.3 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

File hashes

Hashes for panda_gym-3.0.7.tar.gz
Algorithm Hash digest
SHA256 77e3110c7cb6855dd4c10c31f13401b19c3b0e30577e7f5029f946e59b171b6a
MD5 8c66368d949a3d49d3007804aefb0900
BLAKE2b-256 78b3899d8afe0dc14beab5d97a83fcdf81da15a3d0517c21741a352f7279f176

See more details on using hashes here.

File details

Details for the file panda_gym-3.0.7-py3-none-any.whl.

File metadata

  • Download URL: panda_gym-3.0.7-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.11.3 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.13

File hashes

Hashes for panda_gym-3.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb0b1eb1d4e59d6582ed2ac512e69e67d5c3d80862f1ca7e9bb1cd9eaaaf090
MD5 b3a6c7338312c2aba92e5fb801c2f8bc
BLAKE2b-256 1aaa4eb790df24fc475e8c31c960c83a4aec2991e06293eed1e06c0eab9145bb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page