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

How to adjust the size of bolt and nut from the plugin? #503

Open
figsama opened this issue Dec 31, 2024 · 2 comments
Open

How to adjust the size of bolt and nut from the plugin? #503

figsama opened this issue Dec 31, 2024 · 2 comments
Assignees

Comments

@figsama
Copy link

figsama commented Dec 31, 2024

Hello! I'm an undergraduate student trying to learn mujoco. I'm trying to use UR5E with a gripper to screw a nut, only to find that the manipulator is small and the nut is super big. the bolt and nut are from the mujoco plugin, I tried a lot but I cannot change the size of the nut. Could you please tell me what can I do now? Thanks a lot!

@yuvaltassa
Copy link
Collaborator

@figsama
Copy link
Author

figsama commented Jan 5, 2025

You read this?

https://github.com/google-deepmind/mujoco/blob/main/plugin/sdf/README.md

It's referenced here:

https://mujoco.readthedocs.io/en/latest/programming/extension.html#sdf

Thank you for your kind reply. I have read these documents, but I find that I can only adjust the radius of bolt and nut by changing the "radius" parameter, not the proportional reducing the size. By adjusting the radius, the thread part can be thickened or thinned, but the size of the nut remains unchanged. I'm not sure if I need to rewrite the head files to do that. Could you told me what to do?

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

3 participants