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

Method state

dm_control/mujoco/engine.py:604–606  ·  view source on GitHub ↗

Returns the full physics state. Alias for `get_physics_state`.

(self)

Source from the content-addressed store, hash-verified

602 return self.data.act.copy()
603
604 def state(self):
605 """Returns the full physics state. Alias for `get_physics_state`."""
606 return np.concatenate(self._physics_state_items())
607
608 def position(self):
609 """Returns a copy of the generalized positions (system configuration)."""

Callers 2

state_normMethod · 0.95
testNamedViewsMethod · 0.45

Calls 1

_physics_state_itemsMethod · 0.95

Tested by 1

testNamedViewsMethod · 0.36