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

No IK solution found for round-off values of position and orientation #61

Open
emp002 opened this issue Apr 18, 2024 · 1 comment
Open

Comments

@emp002
Copy link

emp002 commented Apr 18, 2024

Hello,
I am trying to control a 4dof scara robot with this package. Below I have attached the model of my robot.
First, I tried using ex_fk.py to get end effector position by giving joint angles as arguments.
Then, I used the same values with 12 decimal places to get joint angles using ex_ik.py. It works perfectly, it gives joint angles close to [0, 0, 0, 0] but with decimal places.
Then again, I used the same values but rounded-off to 1 decimal. I am getting an error that "IK computation failed! Error code: -31."

I have also attached the screenshot of my robot description terminal and the ex_ik launch terminal.
What could be the reason that it is not calculating IK with less decimal places?

image

Screenshot from 2024-04-18 12-58-13
image

@AndrejOrsula
Copy link
Owner

Hello,

You could try increasing the tolerances of relevant methods (refer to tolerance, tolerance_position and tolerance_orientation arguments). But I am unsure if all planners (MoveIt) support them. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants