-
Notifications
You must be signed in to change notification settings - Fork 55
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
Weird solution of inverse kinematics for directing head with torso #502
Comments
I found that the weights of pan-tilt link should not be zero but relatively small values to torso and starts to solve with desired head direction. (send *robot* :head :angle-vector #f(0 0))
(send *robot* :inverse-kinematics
(make-coords :pos (send *target* :worldpos))
:move-target (send *robot* :head :end-coords)
:link-list (send *robot* :link-list (send (send *robot* :head :end-coords) :parent))
:additional-weight-list (list
(list (send *robot* :head :neck-y :child-link) 100)
(list (send *robot* :head :neck-p :child-link) 100)
(list (send *robot* :torso :waist-z :child-link) 1000))
:rotation-axis nil
:translation-axis :z
:debug-view :no-message) |
This code solved the problem.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to let robots head a certain point using both head pan-tilt link and torso link so to make the movement of head is as least as possible (= want to make use of torso at first)
For example, I want to solve ik like below:
↓
but IK fails with weird pose:
Is there any idea?
The text was updated successfully, but these errors were encountered: