Skip to content

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

Merged
jslee02 merged 2 commits intorelease-5.0from
grey/fix_sdf
Jul 11, 2015
Merged

More robust SDF parsing -- Patch for Release 5.0#444
jslee02 merged 2 commits intorelease-5.0from
grey/fix_sdf

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