-
Notifications
You must be signed in to change notification settings - Fork 286
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
API for utilizing Analytical IK #530
Conversation
… grey/analytical
I am in the process of integrating HERB's |
Looks like AppVeyor had a server issue. |
mHubo->getJoint(0)->setPositions(FreeJoint::convertToPositions(new_tf)); | ||
} | ||
|
||
bool solved = mHubo->getIK(true)->solve(); |
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.
Unused variable warning here. I guess you used this variable for debugging.
@@ -428,6 +428,22 @@ bool verifyRotation(const Eigen::Matrix3d& _R); | |||
/// all the elements are not NaN values. | |||
bool verifyTransform(const Eigen::Isometry3d& _T); | |||
|
|||
/// Get the remainder of dividing x by y | |||
inline double mod(double x, double y) | |||
{ |
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.
Any reason we don't use std::fmod(double, double)
?
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.
Mostly because I did not know that function existed. Good catch!
👍 Looks good to me. |
API for utilizing Analytical IK
API for utilizing Analytical IK
This pull request introduces an API for creating and utilizing analytical inverse kinematics modules into the IK framework that was created in #461 .
It should be noted that implementing an analytical IK solver for a particular robot is up to the user; the role of this API is to allow user-created analytical solvers to be plugged into the framework in an efficient and semantically meaningful way.