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

Method tick

dm_control/viewer/application.py:328–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326 self._policy = policy
327 self._load_environment(zoom_to_scene=True)
328 def tick():
329 self._viewport.set_size(*self._window.shape)
330 self._tick()
331 return self._renderer.pixels
332 self._window.event_loop(tick_func=tick)
333 self._window.close()

Callers 1

_tickMethod · 0.45

Calls 2

_tickMethod · 0.95
set_sizeMethod · 0.80

Tested by

no test coverage detected