Skip to content

Commit

Permalink
fix: set the gazebo's processContents to lax
Browse files Browse the repository at this point in the history
Signed-off-by: Amin Yahyaabadi <[email protected]>
  • Loading branch information
aminya committed Apr 16, 2024
1 parent b8cd248 commit 52bdf1c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions xsd/urdf.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,16 @@
<xs:attribute name="update_rate" type="xs:string" />
</xs:complexType>

<xs:complexType name="gazebo">
<!-- Allow any content within gazebo -->
<!-- for Gazebo Classic: https://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<!-- for newest Gazebo: http://sdformat.org/tutorials?tut=sdformat_urdf_extensions&cat=specification&-->
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="gazebo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="gazebo">
<!-- Allow any content within gazebo -->
<!-- for Gazebo Classic:
https://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<!-- for newest Gazebo:
http://sdformat.org/tutorials?tut=sdformat_urdf_extensions&cat=specification&-->
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
</xs:sequence>
</xs:complexType>

<!-- joint node type -->
<xs:complexType name="joint">
Expand Down

0 comments on commit 52bdf1c

Please sign in to comment.