Skip to content

Commit d5a2a39

Browse files
yuvaltassacopybara-github
authored andcommitted
Add insidesite sensor for detecting when an object is inside the volume of a site.
PiperOrigin-RevId: 780993257 Change-Id: Ie6eaa1cc2dc7734f154c55499ff6b918cd89ef00
1 parent 890c054 commit d5a2a39

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dm_control/mjcf/schema.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,6 +2573,17 @@
25732573
<attribute name="body" type="reference" required="true"/>
25742574
</attributes>
25752575
</element>
2576+
<element name="insidesite" repeated="true" namespace="sensor">
2577+
<attributes>
2578+
<attribute name="name" type="identifier"/>
2579+
<attribute name="noise" type="float"/>
2580+
<attribute name="cutoff" type="float"/>
2581+
<attribute name="user" type="array" array_type="float"/>
2582+
<attribute name="site" type="reference" required="true"/>
2583+
<attribute name="objtype" type="keyword" required="true" valid_values="body xbody geom site camera"/>
2584+
<attribute name="objname" type="reference" required="true" reference_namespace="attrib:objtype"/>
2585+
</attributes>
2586+
</element>
25762587
<element name="user" repeated="true" namespace="sensor">
25772588
<attributes>
25782589
<attribute name="name" type="identifier"/>

0 commit comments

Comments
 (0)