MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / copy

Method copy

dm_control/mujoco/wrapper/core.py:481–483  ·  view source on GitHub ↗

Returns a copy of this MjData instance with the same parent MjModel.

(self)

Source from the content-addressed store, hash-verified

479 return self.__class__(copy.deepcopy(self._data))
480
481 def copy(self):
482 """Returns a copy of this MjData instance with the same parent MjModel."""
483 return self.__copy__()
484
485 def object_velocity(self, object_id, object_type, local_frame=False):
486 """Returns the 6D velocity (linear, angular) of a MuJoCo object.

Callers 3

__copy__Method · 0.45
_make_copyMethod · 0.45
override_flagsMethod · 0.45

Calls 1

__copy__Method · 0.95

Tested by

no test coverage detected