Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geyang/gym-sawyer

Sawyer robot adapter for OpenAI gym
https://github.com/geyang/gym-sawyer

Last synced: about 2 months ago
JSON representation

Sawyer robot adapter for OpenAI gym

Awesome Lists containing this project

README

        

``gym-Sawyer``, a Sawyer plugin for OpenAI Gym
==============================================

Current release at ``v0.1.0``.

Installation
------------

The ``gym-sawyer`` package name is currently being squatted `(issue
PEP541) `__ so I went
for the shorter ``sawyer`` module name instead.

To install:

.. code-block:: bash

pip install sawyer

or

.. code-block:: bash

pip install git+https://github.com/geyang/gym-sawyer

Usage Example
-------------

Please refer to the `specs `__ folder for detailed usage
examples. These examples and notes are generated programmatically as
part of the test suite.

.. code-block:: python

import gym

env = gym.make("sawyer:PickPlace-v0", width=84, height=84, cam_id=-1)

env.render("notebook")

.. raw:: html

.. raw:: html

.. figure:: figures/PickPlace-v0.png?raw=true
:alt: figures/PickPlace-v0.png?raw=true

figures/PickPlace-v0.png?raw=true

Ge Yang, Bradly Stadie © 2020