Skip to content

Commit 2456cfa

Browse files
quaglacopybara-github
authored andcommitted
Add flex elasticity to the MJCF schema.
PiperOrigin-RevId: 680624795 Change-Id: I929aa310bd9deba5cd481c6140ef74dbd3c276dd
1 parent a41e9f0 commit 2456cfa

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,14 @@
12101210
<attribute name="damping" type="float"/>
12111211
</attributes>
12121212
</element>
1213+
<element name="elasticity" repeated="true">
1214+
<attributes>
1215+
<attribute name="young" type="float"/>
1216+
<attribute name="poisson" type="float"/>
1217+
<attribute name="thickness" type="float"/>
1218+
<attribute name="damping" type="float"/>
1219+
</attributes>
1220+
</element>
12131221
<element name="contact" repeated="true">
12141222
<attributes>
12151223
<attribute name="contype" type="int"/>
@@ -1248,7 +1256,6 @@
12481256
<attribute name="solrefsmooth" type="array" array_type="float" array_size="2"/>
12491257
<attribute name="solimpsmooth" type="array" array_type="float" array_size="5"/>
12501258
<attribute name="vertex" type="string"/>
1251-
<attribute name="face" type="string"/>
12521259
<attribute name="initial" type="string"/>
12531260
<attribute name="curve" type="string"/>
12541261
<attribute name="size" type="array" array_type="float" array_size="3"/>
@@ -1597,6 +1604,14 @@
15971604
<attribute name="damping" type="float"/>
15981605
</attributes>
15991606
</element>
1607+
<element name="elasticity" repeated="true">
1608+
<attributes>
1609+
<attribute name="young" type="float"/>
1610+
<attribute name="poisson" type="float"/>
1611+
<attribute name="thickness" type="float"/>
1612+
<attribute name="damping" type="float"/>
1613+
</attributes>
1614+
</element>
16001615
<element name="contact" repeated="true">
16011616
<attributes>
16021617
<attribute name="contype" type="int"/>
@@ -1635,7 +1650,6 @@
16351650
<attribute name="solrefsmooth" type="array" array_type="float" array_size="2"/>
16361651
<attribute name="solimpsmooth" type="array" array_type="float" array_size="5"/>
16371652
<attribute name="vertex" type="string"/>
1638-
<attribute name="face" type="string"/>
16391653
<attribute name="initial" type="string"/>
16401654
<attribute name="curve" type="string"/>
16411655
<attribute name="size" type="array" array_type="float" array_size="3"/>

0 commit comments

Comments
 (0)