Skip to content

Commit af21ef4

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: 469190483 Change-Id: Idf5928fbf278fb10357a77d2de2455d4a525d95a
1 parent bee80fe commit af21ef4

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
@@ -1398,6 +1398,8 @@
13981398
<attribute name="body1" type="reference" required="true" reference_namespace="body"/>
13991399
<attribute name="body2" type="reference" reference_namespace="body"/>
14001400
<attribute name="relpose" type="array" array_type="float" array_size="7"/>
1401+
<attribute name="anchor" type="array" array_type="float" array_size="3"/>
1402+
<attribute name="tfratio" type="float"/>
14011403
</attributes>
14021404
</element>
14031405
<element name="joint" repeated="true" namespace="equality">

0 commit comments

Comments
 (0)