Open l0g1x opened 9 years ago
found the answer to my own question at the bottom here: https://bitbucket.org/osrf/gazebo/src/3e1e86e456efae91240b61a42238e437ab07bdad/gazebo/rendering/Road2d.cc?at=default#cl-384
first checking if element has a material, otherwise set it to Gazebo/Road
Just simply using the gz_osm.py with default value, the SDF is produced with road elements, which have a non-existent sub element, like so:
I believe it should be instead of as defined here: http://sdformat.org/spec?ver=1.5&elem=world#world_road and example here: https://bitbucket.org/osrf/gazebo/src/3e1e86e456efae91240b61a42238e437ab07bdad/worlds/road_textures.world?at=default
When loading it into gazebo theres a warning from parser.cc stating as well:
My question is, how are the road texture images still showing?