Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements for the URDF xsd specification #200

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

aminya
Copy link

@aminya aminya commented Apr 16, 2024

The improvements include specifications for:

  • joint types
  • link
  • image
  • camera
  • laser ray
  • ray
  • sensor
  • gazebo

This builds on top of the XSD changes from #183 and then fixes the remaining XSD issues related to:

  • Link's element repetition specific
  • gazebo's lax processing
  • the robot namespace backward compatibility

The specification can be tested via the following (e.g. in VsCode with the XML extension):

<?xml-model href="https://raw.githubusercontent.com/aminya/urdfdom/xsd/xsd/urdf.xsd"?>
<robot name="test">

The above code is backward compatible with the parsers as it doesn't add a namespace to the robot tag. If a namespace is added, some parsers like Python's parser add ns0: before the tags. Not requiring a namespace makes it possible to verify the XML without changing the tags.

xsd/urdf.xsd Outdated Show resolved Hide resolved
Signed-off-by: Amin Yahyaabadi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants