You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a collection of [gymnasium](https://github.com/Farama-Foundation/Gymnasium) environments built with [PyBullet](https://pybullet.org/) and [MuJoCo](https://github.com/google-deepmind/mujoco).
7
+
This repository contains a collection of [gymnasium](https://github.com/Farama-Foundation/Gymnasium) environments built with [PyBullet](https://pybullet.org/) and [MuJoCo](https://github.com/google-deepmind/mujoco).
7
8
In these environments, the agent needs to learn to grasp deformable 3D objects such as shoe insoles or pillows from sparse reward signals.
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
50
47
libGL error: failed to load driver: swrast
51
48
```
52
-
49
+
```
50
+
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
51
+
libGL error: failed to load driver: iris
52
+
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
53
+
libGL error: failed to load driver: iris
54
+
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
55
+
libGL error: failed to load driver: swrast
56
+
/home/kaixing/miniconda3/envs/test/lib/python3.10/site-packages/glfw/__init__.py:914: GLFWError: (65543) b'GLX: Failed to create context: BadValue (integer parameter out of range for operation)'
57
+
warnings.warn(message, GLFWError)
58
+
ERROR: could not create window
59
+
```
53
60
In this case, install the following dependency via conda-forge:
54
61
55
62
```bash
@@ -72,8 +79,8 @@ import gymnasium
72
79
Floating Mia Example
73
80
=========
74
81
75
-
This is an example of how to use the FloatingMiaGraspEnv. A random policy is then
76
-
used to generate ten episodes.
82
+
This is an example of how to use the FloatingMiaGraspEnv. A random policy is then
83
+
used to generate ten episodes.
77
84
78
85
"""
79
86
@@ -93,19 +100,20 @@ while num_episodes <= 10:
93
100
if terminated or truncated:
94
101
print(f"Episode finished with return {episode_return}!")
95
102
num_episodes +=1
96
-
103
+
97
104
env.reset()
98
105
99
106
```
100
107
101
-
102
108
## Documentation
109
+
103
110
The documentation can be found in the directory doc. To build the documentation, run e.g. (on linux):
104
111
105
112
```bash
106
113
cd doc
107
114
make html
108
115
```
116
+
109
117
The HTML documentation is now located at doc/build/html/index.html. You need the following packages to build the documentation:
If you wish to report bugs, please use the [issue tracker](https://github.com/dfki-ric/deformable_gym/issues). If you would like to contribute to DeformableGym, just open an issue or a
118
-
[pull request](https://github.com/dfki-ric/deformable_gym/pulls). The target branch for
119
-
merge requests is the development branch. The development branch will be merged to main for new releases. If you have
125
+
If you wish to report bugs, please use the [issue tracker](https://github.com/dfki-ric/deformable_gym/issues). If you would like to contribute to DeformableGym, just open an issue or a
126
+
[pull request](https://github.com/dfki-ric/deformable_gym/pulls). The target branch for
127
+
merge requests is the development branch. The development branch will be merged to main for new releases. If you have
120
128
questions about the software, you should ask them in the discussion section.
121
129
122
130
The recommended workflow to add a new feature, add documentation, or fix a bug is the following:
131
+
123
132
- Push your changes to a branch (e.g. feature/x, doc/y, or fix/z) of your fork of the deformable_gym repository.
124
-
- Open a pull request to the latest development branch. There is usually an open merge request from the latest development branch to the main branch.
133
+
- Open a pull request to the latest development branch. There is usually an open merge request from the latest development branch to the main branch.
125
134
- When the latest development branch is merged to the main branch, a new release will be made.
0 commit comments