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

Method attach

dm_control/mjcf/element.py:1251–1252  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1249 self.parent_model.namescope.rename('attached_model', old_name, new_name)
1250
1251 def attach(self, other):
1252 return self.worldbody.attach(other)
1253
1254 def detach(self):
1255 parent_model = self.parent_model

Callers 15

testDefaultIdentifierMethod · 0.95
testAssetInheritanceMethod · 0.95
testAttachMethod · 0.45
testDetachMethod · 0.45
testAttachmentFramesMethod · 0.45

Calls

no outgoing calls

Tested by 15

testDefaultIdentifierMethod · 0.76
testAssetInheritanceMethod · 0.76
testAttachMethod · 0.36
testDetachMethod · 0.36
testAttachmentFramesMethod · 0.36