Skip to content

Commit b84d0a4

Browse files
dm_control: Import of refs/pull/372/head
PiperOrigin-RevId: 507524683 Change-Id: Ia15cec5c490c91e81088c8b6c1c59238667ae7ab
2 parents a835bd9 + 8277d15 commit b84d0a4

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

dm_control/mjcf/schema.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,21 @@
10371037
<attribute name="solimpsmooth" type="array" array_type="float" array_size="5"/>
10381038
</attributes>
10391039
<children>
1040+
<element name="plugin" repeated="true" namespace="composite">
1041+
<attributes>
1042+
<attribute name="name" type="identifier"/>
1043+
<attribute name="plugin" type="string" reference_namespace="plugin"/>
1044+
<attribute name="instance" type="reference" reference_namespace="plugin"/>
1045+
</attributes>
1046+
<children>
1047+
<element name="config" repeated="true">
1048+
<attributes>
1049+
<attribute name="key" type="string"/>
1050+
<attribute name="value" type="string"/>
1051+
</attributes>
1052+
</element>
1053+
</children>
1054+
</element>
10401055
<element name="joint" repeated="true">
10411056
<attributes>
10421057
<attribute name="kind" type="keyword" valid_values="main twist stretch" required="true"/>
@@ -1139,6 +1154,21 @@
11391154
<attribute name="gravcomp" type="float"/>
11401155
</attributes>
11411156
<children>
1157+
<element name="plugin" repeated="true" namespace="body">
1158+
<attributes>
1159+
<attribute name="name" type="identifier"/>
1160+
<attribute name="plugin" type="string" reference_namespace="plugin"/>
1161+
<attribute name="instance" type="reference" reference_namespace="plugin"/>
1162+
</attributes>
1163+
<children>
1164+
<element name="config" repeated="true">
1165+
<attributes>
1166+
<attribute name="key" type="string"/>
1167+
<attribute name="value" type="string"/>
1168+
</attributes>
1169+
</element>
1170+
</children>
1171+
</element>
11421172
<element name="inertial" on_demand="true">
11431173
<attributes>
11441174
<attribute name="pos" type="array" required="true" array_type="float" array_size="3"/>
@@ -2147,7 +2177,7 @@
21472177
<element name="plugin" repeated="true" namespace="sensor">
21482178
<attributes>
21492179
<attribute name="name" type="identifier"/>
2150-
<attribute name="plugin" type="reference" reference_namespace="plugin"/>
2180+
<attribute name="plugin" type="string" reference_namespace="plugin"/>
21512181
<attribute name="instance" type="reference" reference_namespace="plugin"/>
21522182
<attribute name="cutoff" type="float"/>
21532183
<attribute name="objtype" type="keyword" valid_values="body joint geom site camera light mesh skin hfield texture material equality tendon actuator sensor numeric text tuple contact keyframe"/>

0 commit comments

Comments
 (0)