Skip to content

Commit 0fd3d48

Browse files
yuvaltassacopybara-github
authored andcommitted
Allow connect constraints to be specified using sites.
PiperOrigin-RevId: 668925419 Change-Id: I13fe05b77d549086024f0d42d50a3f0a6a513aa8
1 parent 33789b0 commit 0fd3d48

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,9 +1849,11 @@
18491849
<attribute name="active" type="keyword" valid_values="false true"/>
18501850
<attribute name="solref" type="array" array_type="float" array_size="2"/>
18511851
<attribute name="solimp" type="array" array_type="float" array_size="5"/>
1852-
<attribute name="body1" type="reference" required="true" reference_namespace="body"/>
1852+
<attribute name="body1" type="reference" reference_namespace="body"/>
18531853
<attribute name="body2" type="reference" reference_namespace="body"/>
1854-
<attribute name="anchor" type="array" required="true" array_type="float" array_size="3"/>
1854+
<attribute name="anchor" type="array" array_type="float" array_size="3"/>
1855+
<attribute name="site1" type="reference" reference_namespace="site"/>
1856+
<attribute name="site2" type="reference" reference_namespace="site"/>
18551857
</attributes>
18561858
</element>
18571859
<element name="weld" repeated="true" namespace="equality">

0 commit comments

Comments
 (0)