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

InverseKinematics: Fix multiple calls to add**(Target|Constraint) #479

Merged

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Sep 10, 2018

While the InverseKinematics library was designed to specify all the
targets and constraints before the first call to solve,
apparently for some users it make sense to call again this method
between solve, to change some aspects of the constraints.

While this behavior is indeed not properly documented, this commit make sures
that if the user uses the methods in this way, everything works fine.

While the InverseKinematics library was designed to specify all the
targets and constraints **before** the  first call to solve,
apparently for some users it make sense to call again this method
between solve, to change some aspects of the constraints.

While this is not properly documented, this commit make sures
that if the user uses the methods in this way, everything works fine.
@traversaro traversaro changed the title Fix multiple calls to add**(Target|Constraint) InverseKinematics: Fix multiple calls to add**(Target|Constraint) Sep 10, 2018
@traversaro traversaro merged commit 348803e into robotology:master Sep 10, 2018
@traversaro traversaro deleted the fixConsecutiveAddConstraint branch September 10, 2018 09:53
@traversaro
Copy link
Member Author

Hot-fix, merging.

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.

1 participant