Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temrc 投影的OpenDrive地图转换得到的Apollo地图无法使用 #104

Open
wqqhao123 opened this issue Sep 26, 2023 · 2 comments
Open
Assignees
Labels
bug Something isn't working P1

Comments

@wqqhao123
Copy link

temrc 投影的OpenDrive地图转换得到的Apollo地图无法使用,得到的Apollo地图和实车定位存在10米的偏差。
大概投影模型出了问题

@daohu527
Copy link
Owner

Can you describe your problem in detail or send a map to my email daohu527@gmail.com ? I will check and feedback later

@daohu527
Copy link
Owner

daohu527 commented Dec 7, 2023

@wqqhao123 imap already support tmerc

imap/imap/lib/convertor.py

Lines 150 to 156 in afae061

if '+proj=utm' in proj_txt:
self.pb_map.header.projection.proj = proj_txt
else:
# We want just support +proj=tmerc, but some do not contain this parameter
for p in proj_txt.split():
if p.startswith('+lat_0'):
lat = float(p.split('=')[1])

The problem may lie in the x and y offset parameters. Currently, imap does not use them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
None yet
Development

No branches or pull requests

2 participants