OpenAI Gym Franka Emika Panda robot environment based on PyBullet.
Project description
panda-gym
OpenaAI Gym Franka Emika Panda robot environment based on PyBullet.
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 gym
import panda_gym
env = gym.make('PandaReach-v0', render=True)
obs = env.reset()
done = False
while not done:
action = env.action_space.sample() # random action
obs, reward, done, info = env.step(action)
env.close()
Environments
Following environments are widely inspired from OpenAI Fetch environments. Video here. See my blog post.
PandaReach-v0
: Panda has to move its end-effector to the desired goal position.
PandaSlide-v0
: Panda has to hit a puck across a long table such that it slides and comes to rest on the desired goal.
PandaPush-v0
: Panda has to move a box by pushing it until it reaches a desired goal position.
PandaPickAndPlace-v0
: Panda has to pick up a box from a table using its gripper and move it to a desired goal above the table.
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 panda_gym-0.1.1.tar.gz
.
File metadata
- Download URL: panda_gym-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb3db9afa48bca8befc9a77b06109036f57f2da2bbdc751396a9ef24f00136a4 |
|
MD5 | 9e4555629218f2f39ad305bacd0d421c |
|
BLAKE2b-256 | f12e7f98bae9d974d047f6f96c58ed635e8280f7750f8d5d7bfd0ae085228cdd |
File details
Details for the file panda_gym-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: panda_gym-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f300f56de5fd6a6ae690df275fadaa15459499fa439400b31112285dfc5234e6 |
|
MD5 | fae6b587487427ce43e66e04d04e82e1 |
|
BLAKE2b-256 | 34ce73ce2fa0459222eccb4de561463cd9884a19ebf5151c9ddbc5282223e1f7 |