Skip to main content

Soft-robotics control environment package for OpenAI Gym

Project description

Soft-robot Control Environment (gym-softrobot)

The environment is designed to leverage reinforcement learning methods into soft-robotics control, inspired from slender-body living creatures. The code is built on PyElastica, an open-source physics simulation for slender structure. We intend this package to be easy-to-install and fully compatible to OpenAI Gym.

Requirements:

  • Python 3.8+
  • OpenAI Gym
  • PyElastica 0.2+
  • Matplotlib (optional for display rendering and plotting)

Please use this bibtex to cite in your publications:

@misc{gym_softrobot,
  author = {Chia-Hsien Shih, Seung Hyun Kim, Mattia Gazzola},
  title = {Soft Robotics Environment for OpenAI Gym},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/skim0119/gym-softrobot}},
}

Installation

pip install gym-softrobot

Reinforcement Learning Example

We tested the environment using Stable Baselines3 for centralized control. More advanced algorithms are still under development.

Environment Design

Included Environments

Octopus[Multi-arm control]

  • octo-flat [2D]
  • octo-reach
  • octo-swim
  • octo-flat

Contribution

We are currently developing the package internally.

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

gym-softrobot-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

gym_softrobot-0.0.1-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gym-softrobot-0.0.1.tar.gz.

File metadata

  • Download URL: gym-softrobot-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for gym-softrobot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3239b4f2c76e65cf364a63b34077ddd8583af3800c3945d071950510c7dc6b02
MD5 53db1602a55ab7057d971bbc74a73d9d
BLAKE2b-256 26cc2f2fd839258d730ffb74e8e0d88b190b63e7944de8f67a9a5d8ae876e2c5

See more details on using hashes here.

File details

Details for the file gym_softrobot-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: gym_softrobot-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for gym_softrobot-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 48cbd1e4cefe5e30d25e21fb86eabf67748da91e0e77ff571a1f5c2d8e699212
MD5 6b6834447509a8949792218b8be83389
BLAKE2b-256 40c0c310a0b330a8bdf3a317f113f659040f0e71a5362899ef4b19d1c8744f7f

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