-
Notifications
You must be signed in to change notification settings - Fork 35
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
Extracting Angles #30
Comments
So if I've understood you right, you're looking to find the euler angles (i.e., pitch/yaw/roll) of each bone with respect to the previous bone in the chain, yeah? This should be doable. Roll does not work well in Caliko unfortunately, for a variety of reasons, but that's something we can come back to later if needed - however the pitch (x-axis rotation) and yaw (y-axis rotation) should make for a good start. Also, roll can be addressed separately if required (i.e., handled outside of Caliko). I'll look into it and get back to you on the weekend. |
Try calling this from the
|
Great, thank you Al. |
Hello again !
I was wondering if there is a way to easily extract angles between the bones ?
I've been playing around with Caliko for a little bit, and can see how to iterate through the bones ..
but didn't find any methods for computed angles.
Would I need to get the start and end vector of each bone then compute it again ?
Digging deeper I saw this for local hinges, and tried adding the calculation for the local angle
Heh, it gave me nothing but 90 degrees 🙄
The big picture is, I would like an IK solver to solve servo positions for a robot project called InMoov.
I've roughed out the right arm.
To begin with I'd like to control 4 servos at 4 joints, but I need the local angles.
The joints in order from top to bottom are:
All of them are local hinges, except for "rotate" which rotates the upper arm in the shoulder socket. For that one, I create a freely rotating hinge bone.
Appreciate any help.
Regards,
GroG
The text was updated successfully, but these errors were encountered: