-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update tutorials * Update tutorials readme
- Loading branch information
Showing
5 changed files
with
67 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
# Tutorials | ||
|
||
This folder contains completed code for all tutorials on our [website](https://evolutiongym.github.io/tutorials). | ||
This folder contains completed code for all tutorials on our [website](https://evolutiongym.github.io/tutorials). | ||
|
||
## Custom Environment | ||
|
||
To see an example of custom environment creation, see `envs/simple_env.py`. This environment is registered in `envs/__init__.py`, and can be visualized by running `python .\visualize_simple_env.py` from this directory. | ||
|
||
## Evogym Simulator API | ||
|
||
See `basic_api.py` for a simple example of how to create, step, and render an Evogym simulator with objects of your choice. Evogym can be used to simulate any number of objects and robots (although simulation speed may slow with many objects). | ||
|
||
To see understand the different rendering options available in Evogym, see `rendering_options.py`. | ||
You can run: | ||
|
||
```bash | ||
python .\rendering_options.py --render-option to-debug-screen | ||
``` | ||
|
||
| Option | Description | | ||
|--------------------|------------------------------------------------------------------------| | ||
| to-debug-screen | Render to Evogym's default viewer | | ||
| to-numpy-array | Render to a numpy array (visualized with open cv) | | ||
| special-options | Render with special flags (for pretty visualization) | | ||
| very-fast | Render without fps limit | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters