Carla: Generate OpenDrive XML format from Carla map

Created on 17 Jan 2019  路  2Comments  路  Source: carla-simulator/carla

Hi Guys,

I have seen in Carla documents that maps used in Carla come accompanied by OpenDrive files. Kindly help in understanding the below queries.

  1. Kindly let me know the location of the OpenDrive XML map files.
  2. If XML is not present, is there a way I could generate the XML map file from the Carla layout.

BR

Most helpful comment

  1. Content/Carla/Maps/OpenDrive

  2. You can use the functions provided:
    to_opendrive()
    save_to_disk(path=self.name)

or use RoadRunner to create a Map and export the map as OpenDrive.

@https://carla.readthedocs.io/en/latest/python_api/

All 2 comments

  1. Content/Carla/Maps/OpenDrive

  2. You can use the functions provided:
    to_opendrive()
    save_to_disk(path=self.name)

or use RoadRunner to create a Map and export the map as OpenDrive.

@https://carla.readthedocs.io/en/latest/python_api/

@Sakrust Thanks for the answer. I was trying to integrate Apollo and Carla.
And hoping that the map from Carla is in same format as in Apollo Auto, so that I can use the map in Apollo simulation. But the Carla uses default open drive specification, where as Apollo uses custom open drive format.

BR

Was this page helpful?
0 / 5 - 0 ratings

Related issues

metaluga145 picture metaluga145  路  4Comments

imran514 picture imran514  路  3Comments

hc167 picture hc167  路  4Comments

mhusseinsh picture mhusseinsh  路  3Comments

tgrel picture tgrel  路  3Comments