Skip to content

Commit

Permalink
Merge pull request #17 from dfki-ric/feature/gymnasium
Browse files Browse the repository at this point in the history
Feature/gymnasium
  • Loading branch information
mlaux1 authored Sep 5, 2023
2 parents dc3b7ea + d9032c2 commit bcbd39e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
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

0 comments on commit bcbd39e

Please sign in to comment.