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

Fix bug where included URDFs are not parsed when there are no custom parsers #562

Merged
merged 1 commit into from
May 5, 2021

Conversation

azeey
Copy link
Collaborator

@azeey azeey commented May 4, 2021

🦟 Bug fix

Summary

#475 introduced a regression where included URDFs were being silently ignored when there are no custom parsers available. This returns the behavior back to URDFs being parsed natively by SDFormat if there are no custom parsers.

Note, however, that if there are custom parsers, but none of them are able to parse the URDF, the URDF file will be ignored. This might not be desirable, but changing the logic so that URDFs get parsed by SDFormat after trying all available custom parsers will require more significant changes, so I did not attempt to do that in this PR.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Code check passed (In source directory, run sh tools/code_check.sh)
  • All tests passed (See
    test coverage)
  • While waiting for a review on your PR, please help review
    another open pull request
    to support the maintainers

Note to maintainers: Remember to use Squash-Merge

…parsers

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey self-assigned this May 4, 2021
@github-actions github-actions bot added the 🏢 edifice Ignition Edifice label May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants