Skip to content

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

Open

Description

@figsama

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!

Activity

  1. figsama commented on Jan 5, 2025

    @figsama
    Author

    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?

  2. figsama commented on Jan 8, 2025

    @figsama
    Author

    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

    as a supplement, when i adjust the radius, the nut and bolt look like this picture:
    screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions