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

SdfParser <use_parent_model_frame> tag #893

Merged
merged 1 commit into from
Jul 16, 2017

Conversation

pchorak
Copy link
Contributor

@pchorak pchorak commented Jul 15, 2017

While working on a Gazebo plugin that uses DART, I noticed that SdfParser::readSekeleton incorrectly loads sdf models that have the <use_parent_model_frame> tag enabled. The problem is that the parser applies an isometry to joint axes marked with the tag while only a rotation should be applied. This PR modifies SdfParser::readAxisElement to only use the rotational component of the isometry.

@jslee02 jslee02 added this to the DART 6.2.1 milestone Jul 15, 2017
Copy link
Member

@jslee02 jslee02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I didn't realize this when I add this. Thanks for the fix!

@codecov
Copy link

codecov bot commented Jul 15, 2017

Codecov Report

Merging #893 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #893   +/-   ##
=======================================
  Coverage   50.61%   50.61%           
=======================================
  Files         299      299           
  Lines       23409    23409           
  Branches     3015     3015           
=======================================
  Hits        11849    11849           
  Misses      10230    10230           
  Partials     1330     1330
Impacted Files Coverage Δ
dart/utils/sdf/SdfParser.cpp 53.61% <0%> (ø) ⬆️

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