Carla: Error while osm2odr map file conversion

Created on 26 Oct 2020  路  1Comment  路  Source: carla-simulator/carla

Error detail:
Warning: Cannot read local schema '../carla/data/xsd/types_file.xsd', will try website lookup.
Traceback (most recent call last):
File "mapgeen.py", line 21, in
xodr_data = carla.Osm2Odr.convert(osm_data, settings)
RuntimeError: unable to open file 'https://sumo.dlr.de/xsd/types_file.xsd'
In file 'built in type map'
At line/column 1/0.
The types could not be loaded from 'built in type map'.

Queries:

1) Why it is showing the warning "Cannot read local schema...." I checked it is not missing in the directed location. I believe the error probably is in the path definition to the "types_file.xsd". May I know if I can edit this location in the convert() definition,if yes how?

2) It is unable to access the web location indicated what is the solution for this.

Thank you in advance for your assistance.

Most helpful comment

Hey try running it from the "PythonAPI/carla" folder, seems to work for me

>All comments

Hey try running it from the "PythonAPI/carla" folder, seems to work for me

Was this page helpful?
0 / 5 - 0 ratings