Skip to content

Commit c40d983

Browse files
DeepMindcopybara-github
authored andcommitted
Convert light directional boolean into a type enum.
PiperOrigin-RevId: 761983728 Change-Id: I4d0db5a0f1e8cd4dcd08246b232ddcf2391383ee
1 parent ac437db commit c40d983

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
@@ -353,6 +353,7 @@
353353
<attribute name="mode" type="keyword" valid_values="fixed track trackcom targetbody targetbodycom"/>
354354
<attribute name="target" type="reference" reference_namespace="body"/>
355355
<attribute name="directional" type="keyword" valid_values="false true"/>
356+
<attribute name="type" type="keyword" valid_values="spot directional point image"/>
356357
<attribute name="castshadow" type="keyword" valid_values="false true"/>
357358
<attribute name="active" type="keyword" valid_values="false true"/>
358359
<attribute name="pos" type="array" array_type="float" array_size="3"/>
@@ -676,6 +677,7 @@
676677
<attribute name="mode" type="keyword" valid_values="fixed track trackcom targetbody targetbodycom"/>
677678
<attribute name="target" type="reference" reference_namespace="body"/>
678679
<attribute name="directional" type="keyword" valid_values="false true"/>
680+
<attribute name="type" type="keyword" valid_values="spot directional point image"/>
679681
<attribute name="castshadow" type="keyword" valid_values="false true"/>
680682
<attribute name="active" type="keyword" valid_values="false true"/>
681683
<attribute name="pos" type="array" array_type="float" array_size="3"/>
@@ -1121,6 +1123,7 @@
11211123
<attribute name="mode" type="keyword" valid_values="fixed track trackcom targetbody targetbodycom"/>
11221124
<attribute name="target" type="reference" reference_namespace="body"/>
11231125
<attribute name="directional" type="keyword" valid_values="false true"/>
1126+
<attribute name="type" type="keyword" valid_values="spot directional point image"/>
11241127
<attribute name="castshadow" type="keyword" valid_values="false true"/>
11251128
<attribute name="active" type="keyword" valid_values="false true"/>
11261129
<attribute name="pos" type="array" array_type="float" array_size="3"/>
@@ -1494,6 +1497,7 @@
14941497
<attribute name="mode" type="keyword" valid_values="fixed track trackcom targetbody targetbodycom"/>
14951498
<attribute name="target" type="reference" reference_namespace="body"/>
14961499
<attribute name="directional" type="keyword" valid_values="false true"/>
1500+
<attribute name="type" type="keyword" valid_values="spot directional point image"/>
14971501
<attribute name="castshadow" type="keyword" valid_values="false true"/>
14981502
<attribute name="active" type="keyword" valid_values="false true"/>
14991503
<attribute name="pos" type="array" array_type="float" array_size="3"/>

0 commit comments

Comments
 (0)