-
Notifications
You must be signed in to change notification settings - Fork 30
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
Minor changes to aikido::io::loadSkeletonFromURDF. #401
Conversation
Only try to convert to a FreeJoint if the provided transform is not Identity.
Codecov Report
@@ Coverage Diff @@
## master #401 +/- ##
==========================================
- Coverage 80.94% 80.93% -0.02%
==========================================
Files 203 203
Lines 5774 5775 +1
==========================================
Hits 4674 4674
- Misses 1100 1101 +1
|
How about we print a warning in that case? One might pass non-identity transform for fixed joint expecting transformed root body, which is not the case here. |
If someone passes a non-identity transform for a fixed joint, it throws an error already, doesn't it? |
@Tonkel Ah, that's true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go!
* Take DART Uri in loadSkeletonFromURDF. Only try to convert to a FreeJoint if the provided transform is not Identity. * Update CHANGELOG.md. * Add tests for loadSkeletonFromURDF.
Uri
rather than string. (Strings can be automatically converted toUri
s.)FreeJoint
if a transform has been provided. (We might want to loadSkeleton
s with fixed joints, but wouldn't set a transform in this case.)Before creating a pull request
make format
Before merging a pull request
CHANGELOG.md