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

package:// syntax in URDF #1

Closed
stephane-caron opened this issue Feb 21, 2023 · 2 comments
Closed

package:// syntax in URDF #1

stephane-caron opened this issue Feb 21, 2023 · 2 comments

Comments

@stephane-caron
Copy link

According to the URDF "spec", mesh filenames like:

        <mesh filename="package://meshes/torso_link3.obj"/>

Should use a fully-qualified package://NAME_OF_PACKAGE/path (see e.g. this tutorial). Here that would be:

        <mesh filename="package://draco3_description/meshes/torso_link3.obj"/>

It's not a biggie since most URDF loaders add hacks around having/not having package://, but sometimes the hacks don't cover all cases 😅

In this instance, python show_in_yourdfpy.py draco3 fails in robot_descriptions because of an edge case clemense/yourdfpy#43 (but this edge case is not triggered if the package:// URI is fully formed).

@shbang91
Copy link
Owner

Thank you for the feedback. I pushed the changes based on your comment.

stephane-caron added a commit to robot-descriptions/robot_descriptions.py that referenced this issue Feb 21, 2023
@stephane-caron
Copy link
Author

And python show_in_yourdfpy.py draco3 now works 👍 Thanks!

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

2 participants