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

Resources to Understand This Codebase? #90

Closed
aunyks opened this issue Nov 16, 2021 · 2 comments
Closed

Resources to Understand This Codebase? #90

aunyks opened this issue Nov 16, 2021 · 2 comments
Labels
question Further information is requested

Comments

@aunyks
Copy link

aunyks commented Nov 16, 2021

Hey Garrett!

This is an awesome project and it's well written. That said, do you know of any resources (maybe textbooks from school?) where I can better understand the IK math behind it? I'm pretty sure I understand how a Solver relates to a Goal, Joint, and Link, but my understanding of the IK below it all is pretty weak.

Love all the dope projects you're doing and thanks for the help

@gkjohnson gkjohnson added the question Further information is requested label Nov 17, 2021
@gkjohnson
Copy link
Owner

Hello! Glad to hear you're enjoying the work.

The paper I link in the README by Samuel Buss in 2009 is a overview of the approach and should provide enough details on how to implement the solver or at least provide enough information to look up math topics you aren't familiar with, yet.

Even with that paper, though, there are still quirks particularly around rotations that the paper might not touch on in too much detail if I recall, and that I still haven't fixed in this repo. Specifically you should prefer rotations that are continuous and don't suffer from something like gimbal lock or redundant representations (ie not Euler angles) so the solver can correctly take small steps toward the one solution without getting stuck. Perhaps at some point I'll make the effort to fix rotations but I've since moved on to new projects.

IK is a fairly deep topic especially for robotics and afaik there are other, more modern solutions out there, as well, which I'd still like to learn more about. Unfortunately it doesn't seem to be a topic that's commonly written about in a very approachable way. Hopefully the above paper with the implementation from this repo can help shed some more light on the topic for you!

@aunyks
Copy link
Author

aunyks commented Nov 20, 2021

Thanks for the help!

@aunyks aunyks closed this as completed Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants