Skip to content

Commit ab38034

Browse files
remove contact forces mujoco
1 parent 0120576 commit ab38034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gym/envs/mujoco/mujoco_env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def do_simulation(self, ctrl, n_frames):
186186
# As of MuJoCo 2.0, force-related quantities like cacc are not computed
187187
# unless there's a force sensor in the model.
188188
# See https://github.com/openai/gym/issues/1541
189-
if self._mujoco_bindings.__name__ != "mujoco_py":
190-
self._mujoco_bindings.mj_rnePostConstraint(self.model, self.data)
189+
# if self._mujoco_bindings.__name__ != "mujoco_py":
190+
# self._mujoco_bindings.mj_rnePostConstraint(self.model, self.data)
191191

192192
def render(
193193
self,

0 commit comments

Comments
 (0)