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

Update ur5 kinematics #5

Merged
merged 19 commits into from
Jun 9, 2021
Merged

Update ur5 kinematics #5

merged 19 commits into from
Jun 9, 2021

Conversation

rafaelsqueiroz
Copy link
Collaborator

Changed the name of some functions and add some methods to calculate the inverse kinematics of the UR5, given a homogeneous transformation matrix (tf)

return self._teta4

def calculate_inverse_kinematics(self, tf, shoulder='left', wrist='up', elbow='up', short=True):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I know where is shoulder, wrist and elbow in the moment of inverse kinematics? They always will be in this position left, up and up respectively?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are geometric factors that depend on how the robot was modeled. For the way the DH matrix was set, the sequence will always be left, up, up. If the user inputs shoulder='right', for example, the links length and orientation need to be reassessed. Same is valid for elbow and wrist.

Copy link
Owner

@mateusmenezes95 mateusmenezes95 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have studied the Spong Book to understand better this "problem" and the position of components doesn't depend on how the arm was modeled but how is the configuration to the arm end-effector reaches some pose. If you have Spong book first edition, see figures 3.17, 3.18, and 3.20. But anyway, I'm not sure that all positions chosen to validate the kinematics methods are with the arm configuration shoulder = left and elbow = up. But I think wrist varies between up and down. Please, see the pictures in our document to see the end effector poses which we are using.

@mateusmenezes95 mateusmenezes95 merged commit 365b4ab into main Jun 9, 2021
@mateusmenezes95 mateusmenezes95 deleted the update-ur5-kinematics branch June 9, 2021 01:04
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

Successfully merging this pull request may close these issues.

2 participants