apollo icon indicating copy to clipboard operation
apollo copied to clipboard

hdmap - I want to know more about the map in the simulation

Open carlin314 opened this issue 9 years ago • 47 comments

I see the map tool in modules, but I guess the hdmap in your simulation is sunnyvale_loop.bin,

but I can't find this file, I dont really understand the map

it comples the map in opendrive format to binary, all i know is this

but I hope there is some more document to use the map tool

could someone who know about it tell me how the original file .xml to the final file .bin

carlin314 avatar Oct 09 '17 06:10 carlin314

You can try the following command to convert file .xml to .bin file, parameter InputDir refers to the directory where XML is saved, and OutputDir refers to the output directory where bin will be saved. bazel build //modules/map/tools:proto_map_generator bazel-bin/modules/map/tools/proto_map_generator --map_dir=InputDir --output_dir=OutputDir

msbeta avatar Oct 14 '17 18:10 msbeta

@msbeta is Apollo using OpenDrive format for hdmap? How to open and edit the map file of sunnyvale for some purposes, such as modify lane? I use odrviewer from opendrive.org to open the map xml file and failed.

chucklqsun avatar Jan 08 '18 09:01 chucklqsun

Tested on OpenDrive sample files (V1.4 format) from OpenDrive.org. "proto_map_generator" does not work.

rockcdr avatar Jan 18 '18 02:01 rockcdr

@rockcdr I've reviewed the Apollo code and find its HDMap head and body structure does NOT completely follow OpenDrive v1.4 official spec.

chucklqsun avatar Jan 18 '18 03:01 chucklqsun

@chucklqsun Yes, in the base_map.xml, it is strange to have revMajor="0" and revMinor="6". Should be "1" and something.

<?xml version="1.0" encoding="UTF-8" ?> <OpenDRIVE xmlns="http://www.opendrive.org"> <header revMajor="0" revMinor="6" name="yongfengchanyeyuan" version="1.4" date="2017-11-20T17:58:11" north="3.741827476e+01" south="3.740239160e+01" east="-1.219960182e+02" west="-1.220307622e+02" vendor="Baidu"> <geoReference> <![CDATA[+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs]]> </geoReference> </header>

rockcdr avatar Jan 18 '18 19:01 rockcdr

@chucklqsun @rockcdr The Apollo OpenDrive Format has modified and extended the standard OpenDrive specification, so if necessary, you can email us,or you can leave your email address,we will send the the Apollo OpenDrive specification to you.

msbeta avatar Mar 30 '18 09:03 msbeta

Hi @carlin314 @chucklqsun @rockcdr , hope our answer resolved your question. We will close the issue for now. If you have any additional question, please feel free to open an new issue. Our engineer team are more than happy to help that.

Thank you for supporting Apollo!

msbeta avatar Mar 30 '18 09:03 msbeta

@msbeta Thanks for your reply. It will be very helpful if you send me a copy of Apollo OpenDrive specification (to 77167680[at]qq.com ).

chucklqsun avatar Mar 30 '18 14:03 chucklqsun

hi, @chucklqsun , I have already emailed the Apollo map specification document to you. Please feel free to let me know if there are any other issues we can help with on the map side, thanks!

msbeta avatar Apr 12 '18 10:04 msbeta

@msbeta Got it! Thanks mate.

chucklqsun avatar Apr 12 '18 10:04 chucklqsun

@msbeta It will be also very helpful if you send me a copy of Apollo OpenDrive specification (to [email protected] ).I am also confused of the difference between the origin opendrive and apollo opendrive

carlin314 avatar Apr 15 '18 05:04 carlin314

can you please send me the Apollo OpenDrive spec to [email protected]?

thilo20 avatar Apr 24 '18 07:04 thilo20

can you please send me the Apollo OpenDrive spec to [email protected]?

candyguo avatar Apr 25 '18 07:04 candyguo

@msbeta Please send me the current Apollo OpenDRIVE spec to [email protected]

methedras avatar Jun 29 '18 01:06 methedras

@msbeta, Please send me the Apollo OpenDrive spec to [email protected]

rockcdr avatar Jul 05 '18 07:07 rockcdr

Why not publish the apollo specific opendrive spec? I thought Baidu wants to make everything open source so it's easy to get started.

dorintt avatar Jul 12 '18 09:07 dorintt

@msbeta, could you please send me the Apollo OpenDrive spec to whunmr[at]gmail.com

thanks mate.

whunmr avatar Jul 25 '18 15:07 whunmr

@msbeta Could you, please, send me the Apollo OD spec to [email protected]

Thanks!

alexbuyval avatar Aug 16 '18 06:08 alexbuyval

@msbeta Can you please send me the apollo OpenDrive spec to [email protected] as well? Thanks!

xiangguomin avatar Aug 22 '18 06:08 xiangguomin

Hi going forward please use: the following link to send us your details. Thanks!

natashadsouza avatar Aug 24 '18 18:08 natashadsouza