I am trying to use the pymoveit2 package for my 4Dof Scara arm. 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?
I am trying to use the pymoveit2 package for my 4Dof Scara arm. 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?