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

Better robustness and package handling for URDF parsing #364

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

mxgrey
Copy link
Member

@mxgrey mxgrey commented Mar 23, 2015

I made changes to the URDF parser so that it can handle package names and directories correctly (thanks @ehuang3 for the info), and while I was at it, I found that the parser was rife with poor error handling (including memory leaks and poorly explained exits) and screwy formatting, so I fixed some of that as well.

Now the URDF parsing can handle arbitrarily many different packages (instead of assuming that all resources will be in the same package), but it still depends on the user to specify the paths to the package directories.

I also added the ability to parse raw xml strings instead of only allowing xml files.

Note that there was a necessary API change in order to support multiple packages. This will not affect any users who were not using URDFs with ROS packages in the first place.

@jslee02 jslee02 added this to the Release DART 5.0 milestone Mar 24, 2015
jslee02 added a commit that referenced this pull request Mar 24, 2015
Better robustness and package handling for URDF parsing
@jslee02 jslee02 merged commit 3dff6de into master Mar 24, 2015
@mxgrey mxgrey deleted the grey/urdfParserFixes branch March 24, 2015 20:22
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.

2 participants