Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/gymnasium #17

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ conda install -c conda-forge libstdcxx-ng
Here is an example of how to run a random agent in the FloatingMiaEnv. More can be found in the `examples/` folder.

```Python
from deformable_gym.envs.floating_mia_grasp_env import FloatingMiaGraspEnv
import gymnasium

"""
=========
Expand All @@ -60,12 +60,7 @@ used to generate ten episodes.

"""

env = FloatingMiaGraspEnv(
gui=True,
horizon=100,
object_name="insole_on_conveyor_belt/back",
observable_time_step=False,
observable_object_pos=True)
env = gymnasium.make("FloatingMiaGraspInsole-v0")

env.reset()
episode_return = 0
Expand Down Expand Up @@ -127,6 +122,8 @@ year = {2023}
}
```

[Link to Workshop Paper](https://deformable-workshop.github.io/icra2023/spotlight/03-Laux-spotlight.pdf)

## Releases

### Semantic Versioning
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = f.read()

setup(name='deformable_gym',
version="0.2.0",
version="0.2.1",
maintainer='Melvin Laux',
maintainer_email='[email protected]',
description='Gym environments for grasping deformable objects',
Expand Down