Skip to content

Commit b2484ee

Browse files
yuvaltassacopybara-github
authored andcommitted
Fix schema definition of springlength, fixes #508
PiperOrigin-RevId: 716236616 Change-Id: I0a37fc0737ff577bab870b0fe0a6652236ac4fce
1 parent a8e6aff commit b2484ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@
19051905
<attribute name="width" type="float"/>
19061906
<attribute name="material" type="reference"/>
19071907
<attribute name="rgba" type="array" array_type="float" array_size="4"/>
1908-
<attribute name="springlength" type="float" array_size="2"/>
1908+
<attribute name="springlength" type="array" array_type="float" array_size="2"/>
19091909
<attribute name="stiffness" type="float"/>
19101910
<attribute name="damping" type="float"/>
19111911
<attribute name="user" type="array" array_type="float"/>
@@ -1945,7 +1945,7 @@
19451945
<attribute name="solimplimit" type="array" array_type="float" array_size="5"/>
19461946
<attribute name="solreffriction" type="array" array_type="float" array_size="2"/>
19471947
<attribute name="solimpfriction" type="array" array_type="float" array_size="5"/>
1948-
<attribute name="springlength" type="float" array_size="2"/>
1948+
<attribute name="springlength" type="array" array_type="float" array_size="2"/>
19491949
</attributes>
19501950
<children>
19511951
<element name="joint" repeated="true">

0 commit comments

Comments
 (0)