The URDF "specification" ( http://wiki.ros.org/urdf ) and its "reference implementation" ( https://github.com/ros/urdfdom ) allow to have a material element without a color child element,
but only if the name of the color is specified in the model-wide material database.
Otherwise, it is always necessary to specify the color of the material of the link.
This should get rid of the terrible [ERROR] :: parseURDFMaterial : Impossible to parse URDF material, material black not found in model database. warnings when loading an iCub model generated with simmechanics-to-urdf .
The URDF "specification" ( http://wiki.ros.org/urdf ) and its "reference implementation" ( https://github.com/ros/urdfdom ) allow to have a material element without a color child element, but only if the name of the color is specified in the model-wide material database. Otherwise, it is always necessary to specify the color of the material of the link.
Fix https://github.com/robotology/icub-model-generator/issues/36 See https://github.com/robotology/icub-model-generator/issues/36#issuecomment-313065203
This should get rid of the terrible
[ERROR] :: parseURDFMaterial : Impossible to parse URDF material, material black not found in model database.
warnings when loading an iCub model generated withsimmechanics-to-urdf
.