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

Issues regarding small IK Twists (~1e-6) #94

Open
IanTheEngineer opened this issue Jun 27, 2018 · 1 comment
Open

Issues regarding small IK Twists (~1e-6) #94

IanTheEngineer opened this issue Jun 27, 2018 · 1 comment
Labels
bug good first issue If you are new to the project, then this is a great issue to work on. help wanted

Comments

@IanTheEngineer
Copy link
Member

IanTheEngineer commented Jun 27, 2018

@MatthewPeterKelly can you add some extra color here?

@MatthewPeterKelly
Copy link
Contributor

This gets complicated...

About a year ago I did some testing with a new trajectory IK algorithm that used SNS-IK for the core IK solver. I observed that SNS-IK sometimes gave poor results (especially with regard to task scaling) when the desired twist values were smaller than roughly 1e-6. I didn't have time to dive into the details of what was going wrong, so instead side-stepped the issue by bypassing SNS-IK in these situations.

It is unclear where the issue is coming from, and I'm not completely sure that the trouble was in SNS-IK, although that is my prime suspect. Within SNS-IK, my guess is that the hard-coded thresholds in the singular value decomposition might have something to do with it.

What to do for this ticket?

Create a unit test that exercises SNS-IK for twist with angular velocity norms that are distributed on a log scale between 1e-10 and 1e-4. The solver should return reasonable results in all cases.

@MatthewPeterKelly MatthewPeterKelly removed their assignment Jun 28, 2018
@MatthewPeterKelly MatthewPeterKelly added bug help wanted good first issue If you are new to the project, then this is a great issue to work on. labels Jun 28, 2018
@IanTheEngineer IanTheEngineer changed the title Small requested IK Twists issues Issues regarding smmall IK Twists (~1e-6) Jun 28, 2018
@IanTheEngineer IanTheEngineer changed the title Issues regarding smmall IK Twists (~1e-6) Issues regarding small IK Twists (~1e-6) Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue If you are new to the project, then this is a great issue to work on. help wanted
Projects
None yet
Development

No branches or pull requests

2 participants