-
Notifications
You must be signed in to change notification settings - Fork 23
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
Correctly process meshes in URDF models #28
Comments
This is a problem blocking the use of iCub's models for several workflows. I tried to investigate a bit and I found several approaches handling this problem, both in libraries consuming URDF files and in people distributing URDF models outside ROS packages .
|
Due to this, we are duplicating the meshes of the iCub in several places:
Keeping track here of all the repo that we need to clean once this is fixed. |
I think I converged to a solution that I found reasonable, and should be compatible with ROS and its
|
Meshes are being properly processed for years: #28 .
We need to correctly process meshes of generated URDF models.
One of the problems to solve is that the URDF format [1] does not describe the semantics of the
filename
attribute, that is used to specify external meshes inCollada
orSTL
format.In practice, most URDF released as part of ROS packages specify the meshes location using the
package://
URI, that are resolved to absolutefilename
s using ROS'resource_retriever
.Clearly this is not a viable strategy for libraries that do not depend on ROS, and want to load arbitrary URDF files. Unfortunatly mesh handling without using ROS is not uniform across different libraries.
Some (such as Google's Bullet ) just support meshes specified w.r.t to the model subdirectory using the format
filename="meshes/mesh.dae"
, but I guess a model of that kind would not be supported by ROS tools.Another problem is if we want to share the same meshes among the different models of if we want to duplicate them by copying them in each robot directory.
[1] : http://wiki.ros.org/urdf/XML/link
The text was updated successfully, but these errors were encountered: