Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
tick
Method · 0.95
_step_simulation
Method · 0.95
get_columns
Method · 0.80
test_get_time
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_get_time
Method · 0.64