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

Gripper Motion #79

Open
lgzid opened this issue Dec 21, 2023 · 2 comments
Open

Gripper Motion #79

lgzid opened this issue Dec 21, 2023 · 2 comments

Comments

@lgzid
Copy link

lgzid commented Dec 21, 2023

Can rl handle gripper kinematics, such as the opening and closing of the gripper?

@rickertm
Copy link
Member

rickertm commented Jan 2, 2024

RL can also be used to model gripper kinematics. The files in rl-examples include a robot model with two arms and hands (rlsg\mekabot-torso-rightarm-righthand-leftarm-lefthand.xml and rlmdl\mekabot-torso-rightarm-righthand-leftarm-lefthand.xml), but you can also model simpler gripper kinematics, e.g., parallel grippers.

For a parallel gripper, each finger can be modeled via a prismatic joint. You can then either set each gripper finger joint position separately or you can use the model's gammaPosition matrix to have the second joint follow the value of the first joint.

@lgzid
Copy link
Author

lgzid commented Jan 4, 2024

Thanks!

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