From 545d5487c528967e36dfb4c714c71cda307c7180 Mon Sep 17 00:00:00 2001 From: AlexanderGri Date: Tue, 15 Oct 2019 16:52:34 +0300 Subject: [PATCH] Automatic evaluation of cfrc_ext --- mujoco_py/mjsim.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/mujoco_py/mjsim.pyx b/mujoco_py/mjsim.pyx index e55bb868..81e82fb0 100644 --- a/mujoco_py/mjsim.pyx +++ b/mujoco_py/mjsim.pyx @@ -127,6 +127,7 @@ cdef class MjSim(object): for _ in range(self.nsubsteps): self.substep_callback() mj_step(self.model.ptr, self.data.ptr) + mj_rnePostConstraint(self.model.ptr, self.data.ptr) def render(self, width=None, height=None, *, camera_name=None, depth=False, mode='offscreen', device_id=-1, segmentation=False):