I am using Ubuntu 18.04 and Carla 9.10. I have problems when trying to add a new map in the simulator. Following the documentation, I selected a portion of the map on OpenStreetMap and I was able to obtain an opendrive file. However when I try to import it into the simulator it does not work and the result can be seen in the following picture (rendering missing):
I don´t think that the problem is with the script I use when launching the .xodr file (because if I try to select a different path and run the example “TownBig.xodr” it works and I am able to see the streets), on the other hand I think that the problem could be in my .xodr file and how it is generated.
At first I thought that the problem could be on the Osm2OdrSettings and I did several attempt with different settings, however the problem was not solved.
Moreover, when comparing TownBig.xodr with my .xodr file I can notice that my file is missing the GeoReference tag and the userData tag:
<geoReference><![CDATA[+proj=tmerc +lat_0=37.35429341239328 +lon_0=-122.0859797650754 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +geoidgrids=egm96_15.gtx +vunits=m +no_defs ]]></geoReference> <userData> <vectorScene program="RoadRunner" version="2019.2.11 (build 1eb1d9099)"/> </userData>
When trying to copy and paste the georeference strings into my file, it does not work.
I have no clue if this could be the problem and how to generate the before mentioned tags. Could you please help me solve the problem? Are there any other ways to import a specific portion of the map into the simulator?
Thank you in advance.