You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URDF models used in the ROS world typically contains meshes that are specified via package:// URIs, also as that is the only way to specify meshes without absolute filenames, at least according to the URDF specification.
While many libraries (including urchin) also support an undocumented URDF extensions in which meshes location specified by filename="this/is/a/path/to/a/mesh.stl" are interpreted as relative paths, "official" URDF files must use meshes specified via package.xml.
To support meshes specified via package:// URI in urchin without the need of depending on ROS libraries not available in pypi, I think we could add support for resolving package:// URIs via the https://github.com/ami-iit/resolve-robotics-uri-py, that is a no-dependency pure python library that can resolve package:// URIs, just using environment variables (like ROS_PACKAGE_PATH or AMENT_PREFIX_PATH) that ROS or most other URDF-capable libraries already define and support, see for example:
URDF models used in the ROS world typically contains meshes that are specified via
package://
URIs, also as that is the only way to specify meshes without absolute filenames, at least according to the URDF specification.While many libraries (including urchin) also support an undocumented URDF extensions in which meshes location specified by
filename="this/is/a/path/to/a/mesh.stl"
are interpreted as relative paths, "official" URDF files must use meshes specified viapackage.xml
.To support meshes specified via
package://
URI in urchin without the need of depending on ROS libraries not available in pypi, I think we could add support for resolvingpackage://
URIs via the https://github.com/ami-iit/resolve-robotics-uri-py, that is a no-dependency pure python library that can resolvepackage://
URIs, just using environment variables (likeROS_PACKAGE_PATH
orAMENT_PREFIX_PATH
) that ROS or most other URDF-capable libraries already define and support, see for example:package://
URDF URI robotology/idyntree#291The text was updated successfully, but these errors were encountered: