(self, paused)
Applies the modifications introduced by performing the move operation.
Applies the modifications introduced by performing the move operation.
Applies the modifications introduced by performing the move operation .
def apply(self, paused):
    """Applies the modifications introduced by performing the move operation."""
    mjlib.mjv_applyPerturbPose(self._model.ptr, self._data.ptr,
                               self._perturb.ptr, int(paused))
    if not paused:
      mjlib.mjv_applyPerturbForce(self._model.ptr, self._data.ptr,
                                  self._perturb.ptr)
    yield
    self._data.xfrc_applied[self._perturb.select] = 0
def apply ( self , paused ) : mjlib . mjv_applyPerturbPose ( self . _model . ptr , self . _data . ptr , self . _perturb . ptr , int ( paused ) ) if not paused : mjlib . mjv_applyPerturbForce ( self . _model . ptr , self . _data . ptr , self . _perturb . ptr ) yield self . _data . xfrc_applied [ self . _perturb . select ] = 0