Skip to content

Commit

Permalink
[MuJoCo] add action space figures (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Nov 5, 2023
1 parent e5d6921 commit cf5f588
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/environments/mujoco/action_space_figures/credits
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The figures were first made my Christian Schroeder de Witt (under no license), and he provided permission to use them on this repo
Then modified by @Kallinteris-Andreas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/ant_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class AntEnv(MujocoEnv, utils.EzPickle):
For more information see section "Version History".
## Action Space
```{figure} action_space_figures/ant.png
:name: ant
```
The action space is a `Box(-1, 1, (8,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/half_cheetah_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class HalfCheetahEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/half_cheetah.png
:name: half_cheetah
```
The action space is a `Box(-1, 1, (6,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/hopper_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ class HopperEnv(MujocoEnv, utils.EzPickle):
For more information see section "Version History".
## Action Space
```{figure} action_space_figures/hopper.png
:name: hopper
```
The action space is a `Box(-1, 1, (3,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/humanoid_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class HumanoidEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/humanoid.png
:name: humanoid
```
The action space is a `Box(-1, 1, (17,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/humanoidstandup_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ class HumanoidStandupEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/humanoid.png
:name: humanoid
```
The action space is a `Box(-1, 1, (17,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/pusher_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class PusherEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/pusher.png
:name: pusher
```
The action space is a `Box(-2, 2, (7,), float32)`. An action `(a, b)` represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/reacher_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class ReacherEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/reacher.png
:name: reacher
```
The action space is a `Box(-1, 1, (2,), float32)`. An action `(a, b)` represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max |Name (in corresponding XML file)| Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/swimmer_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ class SwimmerEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/swimmer.png
:name: swimmer
```
The action space is a `Box(-1, 1, (2,), float32)`. An action represents the torques applied between *links*
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down
4 changes: 4 additions & 0 deletions gymnasium/envs/mujoco/walker2d_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ class Walker2dEnv(MujocoEnv, utils.EzPickle):
## Action Space
```{figure} action_space_figures/walker2d.png
:name: walker2d
```
The action space is a `Box(-1, 1, (6,), float32)`. An action represents the torques applied at the hinge joints.
| Num | Action | Control Min | Control Max | Name (in corresponding XML file) | Joint | Type (Unit) |
Expand Down

0 comments on commit cf5f588

Please sign in to comment.