Improve the tutorial rendering (#1353)

This commit is contained in:
Mark Towers
2025-04-02 21:17:14 +01:00
committed by GitHub
parent 8d5fd4f18f
commit 9e2b3cbd4e
12 changed files with 49 additions and 40 deletions

View File

@@ -1,10 +1,6 @@
Gymnasium Basics
----------------
================
.. toctree::
:hidden:
.. _gallery_section_name:
environment_creation
implementing_custom_wrappers
handling_time_limits
load_quadruped_model
The aim of these tutorials is to showcase the fundamental API of Gymnasium to help users implement it

View File

@@ -3,10 +3,7 @@
Make your own custom environment
================================
This documentation overviews creating new environments and relevant
useful wrappers, utilities and tests included in Gymnasium designed for
the creation of new environments.
This tutorial shows how to create new environment and links to relevant useful wrappers, utilities and tests included in Gymnasium.
Setup
------

View File

@@ -2,7 +2,10 @@
Handling Time Limits
====================
In using Gymnasium environments with reinforcement learning code, a common problem observed is how time limits are incorrectly handled. The ``done`` signal received (in previous versions of OpenAI Gym < 0.26) from ``env.step`` indicated whether an episode has ended. However, this signal did not distinguish whether the episode ended due to ``termination`` or ``truncation``.
This tutorial explains how time limits should be correctly handled with `termination` and `truncation` signals.
The ``done`` signal received (in previous versions of OpenAI Gym < 0.26) from ``env.step`` indicated whether an episode has ended.
However, this signal did not distinguish whether the episode ended due to ``termination`` or ``truncation``.
Termination
-----------

View File

@@ -3,6 +3,7 @@ Implementing Custom Wrappers
============================
In this tutorial we will describe how to implement your own custom wrappers.
Wrappers are a great way to add functionality to your environments in a modular way.
This will save you a lot of boilerplate code.

View File

@@ -2,8 +2,7 @@
Load custom quadruped robot environments
========================================
In this tutorial we will see how to use the `MuJoCo/Ant-v5` framework to create a quadruped walking environment,
using a model file (ending in `.xml`) without having to create a new class.
In this tutorial create a mujoco quadruped walking environment using a model file (ending in `.xml`) without having to create a new class.
Steps: