urdfpy icon indicating copy to clipboard operation
urdfpy copied to clipboard

Add resolve_filepath for url scheme such that package://, model://

Open iory opened this issue 5 years ago • 3 comments

This PR supports URL scheme such that package://, model://. With this PR, we can load urdf contains following XML tag.

<mesh filename="package://fetch_description/meshes/base_link_collision.STL" />

iory avatar Mar 05 '19 02:03 iory

So sorry for the delayed reply, just saw this! Nice PR, I'll test it and merge it soon.

Best, Matt

mmatl avatar Apr 05 '19 19:04 mmatl

btw, I've tested this (at least for package:// URLs) and it works fine. Thanks @iory!

sthoduka avatar Feb 19 '20 14:02 sthoduka

Hi @mmatl I also wanted this functionality so was looking into why this was failing... there's a few issues I found, but it seems the tests won't pass even on master? the _to_xml function in urdf.py ends up looking for the meshes in the wrong place?

mcevoyandy avatar Oct 29 '20 00:10 mcevoyandy