Ekumen-OS / andino_webots

Webots simulation of the Andino robot fully integrated with ROS 2
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Remove material name from definitions #31

Closed IDavGal closed 1 year ago

IDavGal commented 1 year ago

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