Skip to content

Commit 72cfbc2

Browse files
authored
Fixed the description of Half Cheetah's observation space elements (#911)
1 parent d3a511f commit 72cfbc2

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

Diff for: gymnasium/envs/mujoco/half_cheetah_v5.py

+21-20
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,27 @@ class HalfCheetahEnv(MujocoEnv, utils.EzPickle):
5353
5454
By default, however, the observation space is a `Box(-Inf, Inf, (17,), float64)` where the elements are as follows:
5555
56-
| Num | Observation | Min | Max | Name (in corresponding XML file) | Joint | Type (Unit) |
57-
| --- | ------------------------------------ | ---- | --- | -------------------------------- | ----- | ------------------------ |
58-
| 0 | z-coordinate of the front tip | -Inf | Inf | rootz | slide | position (m) |
59-
| 1 | angle of the front tip | -Inf | Inf | rooty | hinge | angle (rad) |
60-
| 2 | angle of the second rotor | -Inf | Inf | bthigh | hinge | angle (rad) |
61-
| 3 | angle of the second rotor | -Inf | Inf | bshin | hinge | angle (rad) |
62-
| 4 | velocity of the tip along the x-axis | -Inf | Inf | bfoot | hinge | angle (rad) |
63-
| 5 | velocity of the tip along the y-axis | -Inf | Inf | fthigh | hinge | angle (rad) |
64-
| 6 | angular velocity of front tip | -Inf | Inf | fshin | hinge | angle (rad) |
65-
| 7 | angular velocity of second rotor | -Inf | Inf | ffoot | hinge | angle (rad) |
66-
| 8 | x-coordinate of the front tip | -Inf | Inf | rootx | slide | velocity (m/s) |
67-
| 9 | y-coordinate of the front tip | -Inf | Inf | rootz | slide | velocity (m/s) |
68-
| 10 | angle of the front tip | -Inf | Inf | rooty | hinge | angular velocity (rad/s) |
69-
| 11 | angle of the second rotor | -Inf | Inf | bthigh | hinge | angular velocity (rad/s) |
70-
| 12 | angle of the second rotor | -Inf | Inf | bshin | hinge | angular velocity (rad/s) |
71-
| 13 | velocity of the tip along the x-axis | -Inf | Inf | bfoot | hinge | angular velocity (rad/s) |
72-
| 14 | velocity of the tip along the y-axis | -Inf | Inf | fthigh | hinge | angular velocity (rad/s) |
73-
| 15 | angular velocity of front tip | -Inf | Inf | fshin | hinge | angular velocity (rad/s) |
74-
| 16 | angular velocity of second rotor | -Inf | Inf | ffoot | hinge | angular velocity (rad/s) |
75-
| excluded | x-coordinate of the front tip | -Inf | Inf | rootx | slide | position (m) |
56+
57+
| Num | Observation | Min | Max | Name (in corresponding XML file) | Joint | Type (Unit) |
58+
| --- | ------------------------------------------- | ---- | --- | -------------------------------- | ----- | ------------------------ |
59+
| 0 | z-coordinate of the front tip | -Inf | Inf | rootz | slide | position (m) |
60+
| 1 | angle of the front tip | -Inf | Inf | rooty | hinge | angle (rad) |
61+
| 2 | angle of the back thigh | -Inf | Inf | bthigh | hinge | angle (rad) |
62+
| 3 | angle of the back shin | -Inf | Inf | bshin | hinge | angle (rad) |
63+
| 4 | angle of the back foot | -Inf | Inf | bfoot | hinge | angle (rad) |
64+
| 5 | angle of the front thigh | -Inf | Inf | fthigh | hinge | angle (rad) |
65+
| 6 | angle of the front shin | -Inf | Inf | fshin | hinge | angle (rad) |
66+
| 7 | angle of the front foot | -Inf | Inf | ffoot | hinge | angle (rad) |
67+
| 8 | velocity of the x-coordinate of front tip | -Inf | Inf | rootx | slide | velocity (m/s) |
68+
| 9 | velocity of the z-coordinate of front tip | -Inf | Inf | rootz | slide | velocity (m/s) |
69+
| 10 | angular velocity of the front tip | -Inf | Inf | rooty | hinge | angular velocity (rad/s) |
70+
| 11 | angular velocity of the back thigh | -Inf | Inf | bthigh | hinge | angular velocity (rad/s) |
71+
| 12 | angular velocity of the back shin | -Inf | Inf | bshin | hinge | angular velocity (rad/s) |
72+
| 13 | angular velocity of the back foot | -Inf | Inf | bfoot | hinge | angular velocity (rad/s) |
73+
| 14 | angular velocity of the front thigh | -Inf | Inf | fthigh | hinge | angular velocity (rad/s) |
74+
| 15 | angular velocity of the front shin | -Inf | Inf | fshin | hinge | angular velocity (rad/s) |
75+
| 16 | angular velocity of the front foot | -Inf | Inf | ffoot | hinge | angular velocity (rad/s) |
76+
| excluded | x-coordinate of the front tip | -Inf | Inf | rootx | slide | position (m) |
7677
7778
7879
## Rewards

0 commit comments

Comments
 (0)