Skip to content

Commit b913c52

Browse files
yuvaltassacopybara-github
authored andcommitted
Add output attribute to camera elements.
This attribute allows specifying the intended output types (e.g., RGB, depth, normal) for each camera in the XML. The output types are stored as bit flags in `mjModel`. PiperOrigin-RevId: 853316261 Change-Id: I2aa4c30867938af88af36ca49cee559e9d0d4590
1 parent 91d74c9 commit b913c52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dm_control/mjcf/schema.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@
350350
<attribute name="zaxis" type="array" array_type="float" array_size="3"/>
351351
<attribute name="euler" type="array" array_type="float" array_size="3"/>
352352
<attribute name="resolution" type="array" array_type="int" array_size="2"/>
353+
<attribute name="output" type="string"/>
353354
<attribute name="focal" type="array" array_type="float" array_size="2"/>
354355
<attribute name="focalpixel" type="array" array_type="float" array_size="2"/>
355356
<attribute name="principal" type="array" array_type="float" array_size="2"/>
@@ -675,6 +676,7 @@
675676
<attribute name="zaxis" type="array" array_type="float" array_size="3"/>
676677
<attribute name="euler" type="array" array_type="float" array_size="3"/>
677678
<attribute name="resolution" type="array" array_type="int" array_size="2"/>
679+
<attribute name="output" type="string"/>
678680
<attribute name="focal" type="array" array_type="float" array_size="2"/>
679681
<attribute name="focalpixel" type="array" array_type="float" array_size="2"/>
680682
<attribute name="principal" type="array" array_type="float" array_size="2"/>
@@ -1125,6 +1127,7 @@
11251127
<attribute name="zaxis" type="array" array_type="float" array_size="3"/>
11261128
<attribute name="euler" type="array" array_type="float" array_size="3"/>
11271129
<attribute name="resolution" type="array" array_type="int" array_size="2"/>
1130+
<attribute name="output" type="string"/>
11281131
<attribute name="focal" type="array" array_type="float" array_size="2"/>
11291132
<attribute name="focalpixel" type="array" array_type="float" array_size="2"/>
11301133
<attribute name="principal" type="array" array_type="float" array_size="2"/>
@@ -1502,6 +1505,7 @@
15021505
<attribute name="zaxis" type="array" array_type="float" array_size="3"/>
15031506
<attribute name="euler" type="array" array_type="float" array_size="3"/>
15041507
<attribute name="resolution" type="array" array_type="int" array_size="2"/>
1508+
<attribute name="output" type="string"/>
15051509
<attribute name="focal" type="array" array_type="float" array_size="2"/>
15061510
<attribute name="focalpixel" type="array" array_type="float" array_size="2"/>
15071511
<attribute name="principal" type="array" array_type="float" array_size="2"/>

0 commit comments

Comments
 (0)