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

More robust SDF parsing -- Patch for Release 5.0 #444

Merged
merged 2 commits into from
Jul 11, 2015
Merged

Conversation

mxgrey
Copy link
Member

@mxgrey mxgrey commented Jul 8, 2015

The SDF parser currently assumes there is at least one Joint in the model, so it fails to correctly parse a model that has no Joints (i.e. all bodies are root nodes).

This pull request fixes that issue, and should be more robust in general because it iterates through bodies instead of joints when constructing a Skeleton.

@mxgrey mxgrey changed the title More robust SDF parsing More robust SDF parsing -- Patch for Release 5.0 Jul 8, 2015
@mkoval
Copy link
Collaborator

mkoval commented Jul 8, 2015

👍 This fixed the issue I was having. Thanks @mxgrey!

@jslee02 jslee02 added this to the DART 5.0.1 milestone Jul 9, 2015
@jslee02
Copy link
Member

jslee02 commented Jul 9, 2015

I added regression test for this. Will wait for build tests and merge if they are happy.

jslee02 added a commit that referenced this pull request Jul 11, 2015
More robust SDF parsing -- Patch for Release 5.0
@jslee02 jslee02 merged commit 04af96b into release-5.0 Jul 11, 2015
@jslee02 jslee02 deleted the grey/fix_sdf branch August 14, 2015 04:19
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