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

Method after_reset

dm_control/mujoco/engine.py:329–333  ·  view source on GitHub ↗

Runs after resetting internal variables of the physics simulation.

(self)

Source from the content-addressed store, hash-verified

327 self.forward()
328
329 def after_reset(self):
330 """Runs after resetting internal variables of the physics simulation."""
331 # Disable actuation since we don't yet have meaningful control inputs.
332 with self.model.disable('actuation'):
333 self.forward()
334
335 def forward(self):
336 """Recomputes the forward dynamics without advancing the simulation."""

Callers 2

_reload_from_dataMethod · 0.95

Calls 2

forwardMethod · 0.95
disableMethod · 0.80

Tested by 1