MaisJamal / Carla_apollo_maps

HD Apollo maps for Carla simulator towns. Town01 - Town02 - Town03 - Town04 - Town05
27 stars 3 forks source link

How can I obtain the .xml file #1

Closed QingMounta closed 12 months ago

QingMounta commented 1 year ago

Thank you so much for sharing your knowledge. I'm wondering how we can obtain the .xml files within the project from the OpenDrive file. I've looked through the Apollo project but couldn't find a suitable answer, and I would really appreciate it if you could take some time to reply.

MaisJamal commented 1 year ago

Hello, One way to convert OpenDrive file to Apollo HD file, is the tool imap. I haven't worked much with it, I have just tested it on a map or two. Another way which I usually use in conversion is RoadRunner, It is a tool from Mathworks to create maps and export them to different formats, Apollo is one of the available formats.

WilliaJing commented 1 year ago

Hello, One way to convert OpenDrive file to Apollo HD file, is the tool imap. I haven't worked much with it, I have just tested it on a map or two. Another way which I usually use in conversion is RoadRunner, It is a tool from Mathworks to create maps and export them to different formats, Apollo is one of the available formats.

@MaisJamal imap ,It seems that the location of the converted map is different from yours. the map you converted was successful. Is .xml converted by .xodr through roadrunner? thank you

MaisJamal commented 1 year ago

Yes, by .xodr through roadrunner

WilliaJing commented 1 year ago

Yes, by .xodr through roadrunner

oh,thank you for your reply. The coordinate points of the map I converted through roadrunner 2022 have been mapped. I would like to know which version you used for conversion. Can you tell me some steps or settings. in addition,Roadrunner directly converts to.bin, doesn't it need to be converted to .xml?

MaisJamal commented 1 year ago

Roadrunner can convert to .bin , .txt or .xml any of these files works in apollo, you just need the map in any of the three formats. You just have to create the map directory, add the map in any format of them, generate routing_map and sim_map by apollo tool