Unity-Technologies / URDF-Importer

URDF importer
Apache License 2.0
232 stars 71 forks source link

Spherical Joint Tag in URDF supported #169

Open WenqiangX opened 2 years ago

WenqiangX commented 2 years ago

Is your feature request related to a problem? Please describe. Since Unity ArticulationBody has native support of SphericalJoint, as stated in here. I wonder why the URDF importer cannot directly support spherical tag in URDF?

I know pybullet community support this feature as mentioned in this thread.

Describe the solution you'd like I hope I can directly define the spherica joint in URDF with a spherical tag, just like fixed joint, revolute joint, etc.

Describe alternatives you've considered I have two alternative ways to achieve this:

  1. A common practice for mimic the spherical joint in URDF is to adopt three revolute joints, however, it requires to add additional virtual objects to link the joints.
  2. after import urdf with urdf-importer, manually change the joint type in the ArticulationBody.

Additional context The attachment humanoid.urdf.txt in the pybullet community thread mentioned above, can clearly showcase my point.

Though I have two alternative approach, I actually did not check these two approaches, though I believe the second one is highly doable. Nevertheless, I hope it can be solved natively. Thanks!

at669 commented 2 years ago

Hi, thanks for reaching out! I've created an internal ticket to investigate this, and we'll get back to you with any updates.

[Ticket#: AIRO-1663]