Skip to content

Commit e7c75d6

Browse files
DeepMindcopybara-github
authored andcommitted
Add two new attributes to weld constraints:
- `anchor` determines the point of wrench application, in the frame of body2. - `tfratio` scales applied torques relative to applied forces. - Add visualisation of both anchor points to both weld and connect constraints. - Add a test model showing how the new weld parameters behave. PiperOrigin-RevId: 470021901 Change-Id: I14226e80b8ed65580822186e55995810033ad757
1 parent 968db40 commit e7c75d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,8 @@
13991399
<attribute name="body1" type="reference" required="true" reference_namespace="body"/>
14001400
<attribute name="body2" type="reference" reference_namespace="body"/>
14011401
<attribute name="relpose" type="array" array_type="float" array_size="7"/>
1402+
<attribute name="anchor" type="array" array_type="float" array_size="3"/>
1403+
<attribute name="torquescale" type="float"/>
14021404
</attributes>
14031405
</element>
14041406
<element name="joint" repeated="true" namespace="equality">

0 commit comments

Comments
 (0)