Skip to content

Commit

Permalink
Docs: showcase a better custom layout
Browse files Browse the repository at this point in the history
  • Loading branch information
semitable committed Jan 12, 2022
1 parent 5ce93b1 commit 5503633
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ env = gym.make("rware-tiny-2ag-v1", sensor_range=3, request_queue_size=6)
You can design a custom warehouse layout with the following:
```python
layout = """
........
...x....
..x.x...
.x...x..
..x.x...
...x....
.g....g.
.......
...x...
..x.x..
.x...x.
..x.x..
...x...
.g...g.
"""
gym = env.make("rware:rware-tiny-2ag-v1", layout=layout)
```
This will transform "X"s to shelves and "G"s to goal locations with a result like the one below:
<p align="center">
<img width="300px" src="docs/img/rware_round.png" align="center" alt="Multi-Robot Warehouse (RWARE) illustration" />
<img width="300px" src="docs/img/rware-round.png" align="center" alt="Multi-Robot Warehouse (RWARE) illustration" />
</p>


Expand Down
Binary file added docs/img/rware-round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/rware_round.png
Binary file not shown.

0 comments on commit 5503633

Please sign in to comment.