-
Notifications
You must be signed in to change notification settings - Fork 25
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 with angles of elbow joint. #53
Comments
Hi, what does the robot arm look like when you apply the angles calculated by the solve2 function? What is incorrect about them? Keep in mind that the angles are calculated based on the line along the previous link which intersects with the joint you want to rotate. |
Hi, thanks for the reply. Now I have a problem with the position of the end effector, because the part of the arm that reaches the coordinates is the wrist servo, and not the tip of the gripper (3rd link). Shouldn't the Solve2 function use the tip of the 3rd link for the position of the end effector? |
Hi, it depends how you set it up and which solve2 was called. Have you tried using the grip offset value? |
I tried adding the gripping offset, but so far it only seems to affect the position in the Y axis.
The X and Z coordinates are still being reached by the elbow joint, not the end of the claw. |
I'm having problems using the "Solve2" method for a 3 DOF arm (rotating base, shoulder, elbow and wrist joints).
I wrote a code that allows me to manually input a set of XYZ coordinates, which then are inputs for the "Solve2" function, along with a tool angle, and the lengths of the links. The output angles, however, are incorrect, and I believe that the issue is my Elbow servo, which is basically upside down, so the angles are reversed, and it's also rotated 45°.
I tried calculating the final angle for the servo as "180-elbowAngle", but it doesn't seem to work.
This is the code I'm using:
For reference, this is the arm I'm currently using https://www.printables.com/model/1008951-brazo-robotico-kuka-arduino
Is there a way to work around the inverted elbow servo? or is the issue elsewhere? please help.
The text was updated successfully, but these errors were encountered: