Given the RVIZ material definitions present in the common_macros.urdf and the way urdf2webots is implemented, material definitions that are not attached to any visual tag are not recognized as a valid material name. The workaround for this results in defining the material for each link without any reference name.
This affects the RVIZ visualization, causing an error when parsing the visual tag for the links, and so, the originally parsed URDF file (without color re-defining) is what's passed to rviz as the robot description.
Given the RVIZ material definitions present in the common_macros.urdf and the way urdf2webots is implemented, material definitions that are not attached to any visual tag are not recognized as a valid material name. The workaround for this results in defining the material for each link without any reference name.
This affects the RVIZ visualization, causing an error when parsing the visual tag for the links, and so, the originally parsed URDF file (without color re-defining) is what's passed to rviz as the robot description.
CC @BarceloChristian