Skip to content

Add getters for joints/bodies to MetaSkeleton #879

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

Merged
merged 9 commits into from
Apr 22, 2017

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Apr 19, 2017

The newly added APIs are just syntactic sugar to get the joints and body nodes with a name. Probably, some of the implementation are not that efficient.

/// Returns the body node of given name.
///
/// When there are multiple body nodes with the same name, returns the first
/// body node, which is implementation dependent, and prints a warning.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: Add a note about how this can occur, i.e. when the MetaSkeleton contains BodyNodes from multiple Skeletons. The same comment applies to the other three functions you added.

@jslee02 jslee02 merged commit d1e1126 into master Apr 22, 2017
@jslee02 jslee02 deleted the feature/metaskeleton_getters branch April 22, 2017 18:27
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