Commit d0c7fc1
committed
work-around for buggy urdf parser for visual materials
In urdf::Link, only the first visual's material comprises actual color values, all others only have the name.
Thus to correctly show the color of all visuals, we need to search for the first visual with given material name,
much like ros-visualization#1079 has done. If the urdfdom fix (ros/urdfdom#114) is released,
this work-around can be reverted.1 parent f1bc203 commit d0c7fc1
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
445 | 456 | | |
446 | 457 | | |
447 | 458 | | |
| |||
0 commit comments