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

Support for multiple degrees of freedom joints #195

Open
ShravanTata opened this issue Aug 28, 2019 · 2 comments
Open

Support for multiple degrees of freedom joints #195

ShravanTata opened this issue Aug 28, 2019 · 2 comments
Assignees
Labels
feature New feature proposal/idea for Phobos.
Milestone

Comments

@ShravanTata
Copy link

Currently Phobos only supports single degrees of freedom joints. In my models it is essential to have multiple degrees of freedom. From a robotics points of view it is understandable to have single DOF since they represent motors. But I am working on more abstract simulation models which would require multi DOF joints.

Describe the solution you'd like
To support all the joints described in SDF format.
[http://sdformat.org/spec?ver=1.6&elem=joint]

@cjaverliat
Copy link

cjaverliat commented Nov 5, 2020

I encountered the same issue regarding ball joints.
As of now, there are three joints missing for the SDF format (Cf. joints section):

  • ball: 3 rotational degrees of freedom
  • screw: 1 coupled rotational/translational degree of freedom
  • universal: 2 rotational degrees of freedom

As Phobos is mainly based on URDF it explains the lack of such joints.

What would be the ideal solution in that case ?

  • On the one hand, adding all the SDF joints types would resolve the issue, but on the other hand they would be useless and not exported for the URDF format.
  • It looks that you can build up a ball joint/spherical joint by composing fixed and continuous joints (Cf. this discussion). Maybe it would be possible to convert automatically the ball joint into the four equivalent joints in case of a URDF export.
  • Do not change anything and let the user create its own ball joint the way I mentionned before, but adding it somewhere in the documentation for the kinematic skeleton.

@hwiedPro hwiedPro added feature New feature proposal/idea for Phobos. pre_v2.0.0 To be tackled in v2.0.0 labels Jun 16, 2022
@hwiedPro hwiedPro removed the pre_v2.0.0 To be tackled in v2.0.0 label Nov 29, 2022
@hwiedPro
Copy link
Collaborator

Adding a ball joint is no problem, exporting it to URDF will lead to an error message, so that the user has to take care of it. I'll update this when I found time to tackle this.

The other two need some more changes, especially the coupling of the screw joint. This will rather happen in a later iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature proposal/idea for Phobos.
Projects
None yet
Development

No branches or pull requests

4 participants