Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update observation space docstring for fetch pick_and_place push slide environments #197

Merged
merged 1 commit into from
Dec 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gymnasium_robotics/envs/fetch/pick_and_place.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class MujocoFetchPickAndPlaceEnv(MujocoFetchEnv, EzPickle):
| 3 | Block x position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 4 | Block y position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 5 | Block z position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative block x position with respect to gripper x position in globla coordinates. Equals to x<sub>gripper</sub> - x<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative block y position with respect to gripper y position in globla coordinates. Equals to y<sub>gripper</sub> - y<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative block z position with respect to gripper z position in globla coordinates. Equals to z<sub>gripper</sub> - z<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative block x position with respect to gripper x position in global coordinates. Equals to x<sub>block</sub> - x<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative block y position with respect to gripper y position in global coordinates. Equals to y<sub>block</sub> - y<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative block z position with respect to gripper z position in global coordinates. Equals to z<sub>block</sub> - z<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 9 | Joint displacement of the right gripper finger | -Inf | Inf |- | robot0:r_gripper_finger_joint | hinge | position (m) |
| 10 | Joint displacement of the left gripper finger | -Inf | Inf |- | robot0:l_gripper_finger_joint | hinge | position (m) |
| 11 | Global x rotation of the block in a XYZ Euler frame rotation | -Inf | Inf | object0 |- |- | angle (rad) |
Expand Down
6 changes: 3 additions & 3 deletions gymnasium_robotics/envs/fetch/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ class MujocoFetchPushEnv(MujocoFetchEnv, EzPickle):
| 3 | Block x position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 4 | Block y position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 5 | Block z position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative block x position with respect to gripper x position in globla coordinates. Equals to x<sub>gripper</sub> - x<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative block y position with respect to gripper y position in globla coordinates. Equals to y<sub>gripper</sub> - y<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative block z position with respect to gripper z position in globla coordinates. Equals to z<sub>gripper</sub> - z<sub>block</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative block x position with respect to gripper x position in global coordinates. Equals to x<sub>block</sub> - x<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative block y position with respect to gripper y position in global coordinates. Equals to y<sub>block</sub> - y<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative block z position with respect to gripper z position in global coordinates. Equals to z<sub>block</sub> - z<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 9 | Joint displacement of the right gripper finger | -Inf | Inf |- | robot0:r_gripper_finger_joint | hinge | position (m) |
| 10 | Joint displacement of the left gripper finger | -Inf | Inf |- | robot0:l_gripper_finger_joint | hinge | position (m) |
| 11 | Global x rotation of the block in a XYZ Euler frame rotation | -Inf | Inf | object0 |- |- | angle (rad) |
Expand Down
6 changes: 3 additions & 3 deletions gymnasium_robotics/envs/fetch/slide.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ class MujocoFetchSlideEnv(MujocoFetchEnv, EzPickle):
| 3 | Puck x position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 4 | Puck y position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 5 | Puck z position in global coordinates | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative puck x position with respect to gripper x position in globla coordinates. Equals to x<sub>gripper</sub> - x<sub>puck</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative puck y position with respect to gripper y position in globla coordinates. Equals to y<sub>gripper</sub> - y<sub>puck</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative puck z position with respect to gripper z position in globla coordinates. Equals to z<sub>gripper</sub> - z<sub>puck</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 6 | Relative puck x position with respect to gripper x position in global coordinates. Equals to x<sub>puck</sub> - x<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 7 | Relative puck y position with respect to gripper y position in global coordinates. Equals to y<sub>puck</sub> - y<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 8 | Relative puck z position with respect to gripper z position in global coordinates. Equals to z<sub>puck</sub> - z<sub>gripper</sub> | -Inf | Inf | object0 |- |- | position (m) |
| 9 | Joint displacement of the right gripper finger | -Inf | Inf |- | robot0:r_gripper_finger_joint | hinge | position (m) |
| 10 | Joint displacement of the left gripper finger | -Inf | Inf |- | robot0:l_gripper_finger_joint | hinge | position (m) |
| 11 | Global x rotation of the puck in a XYZ Euler frame rotation | -Inf | Inf | object0 |- |- | angle (rad) |
Expand Down
Loading