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

composite joints not supported #23

Open
gautica opened this issue Sep 20, 2023 · 1 comment
Open

composite joints not supported #23

gautica opened this issue Sep 20, 2023 · 1 comment

Comments

@gautica
Copy link

gautica commented Sep 20, 2023

Hi,
thank you for your interesting work. I would like to ask if you plan to implement composite joints. I saw that you have used "humanoid.xml" in your example, but it failed when I tried to do it because of the composite joint issue. Thank you very much.

@PeterMitrano
Copy link
Contributor

You can often work-around this limitation by rewriting the XML. For example instead of

<worldbody>
<body>
<joint type='slide' axis='1 0 0'/>
<joint type='slide' axis='0 1 0'/>
</body>
</worldbody>

You could do

<worldbody>
<body>
<joint type='slide' axis='1 0 0'/>
<body>
<joint type='slide' axis='0 1 0'/>
</body>
</body>
</worldbody>

But this would only work in some cases. Very few robots truly have composite joints, in my experience. Can you share the model you are using, and say why you need composite joints?

If you wanted to implement them, it should be possible to just create two joint objects with a dummy Frame in between them. Might be fairly easy?

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

No branches or pull requests

2 participants