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

Method get_time

dm_control/viewer/runtime.py:186–188  ·  view source on GitHub ↗

Elapsed simulation time.

(self)

Source from the content-addressed store, hash-verified

184 self._state = State.START
185
186 def get_time(self):
187 """Elapsed simulation time."""
188 return self._env.physics.data.time
189
190 @property
191 def state(self):

Callers 4

tickMethod · 0.95
_step_simulationMethod · 0.95
get_columnsMethod · 0.80
test_get_timeMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_get_timeMethod · 0.64