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

Method _build

dm_control/composer/entity_test.py:57–59  ·  view source on GitHub ↗
(self, name='test_entity')

Source from the content-addressed store, hash-verified

55 """Simple test entity that does nothing but declare some observables."""
56
57 def _build(self, name='test_entity'):
58 self._mjcf_root = mjcf.element.RootElement(model=name)
59 self._mjcf_root.worldbody.add('geom', type='sphere', size=(0.1,))
60
61 def _build_observables(self):
62 return TestEntityObservables(self)

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected