-
Notifications
You must be signed in to change notification settings - Fork 668
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
Failure in vector mapping due to points having negative xy-coordinates in pointcloud map #9038
Comments
In your lanelet map OSM file, the <node id="30" lat="13.801094196677974" lon="100.54001559798192">
<tag k="mgrs_code" v="47PPR664262"/>
<tag k="local_x" v="66467.4103"/>
<tag k="local_y" v="26262.2704"/>
<tag k="ele" v="-27.514"/>
</node> You say your map overlaps over 2 MGRS zones, which is likely the cause of issue. For example, Autoware may not check the |
For example if you have set the map projector to MGRS in the |
This pull request has been automatically marked as stale because it has not had recent activity. |
I encountered the same problem. Could you please help me with how you solved it? Thank you! |
The error "some points have negative xy-coordinates in MGRS coordinate system" that appears when using the vector map builder software essentially arises because MGRS should have the bottom-left corner of the zone as the origin, but in this software, the origin is set to the vehicle center. This causes a shift in the origin of the constructed map, leading to negative coordinates. To resolve this origin issue, the origin should be moved to the bottom-left corner of the MGRS zone. |
Checklist
Description
Hi, Autoware community,
The mapping site I'm currently working on spans MGRS zones 52S CD and BD.
Because the origin of the map frame is based on the MGRS 52S CD coordinate system, some points in the pointcloud map have negative xy-coordinates.
Based on this pointcloud map, I created a vector map using a bag2lanelet package.
When I loaded the created lanelet into the Vector Map Builder, it appeared correct, but I found an error indicating that some points have negative xy-coordinates in the MGRS coordinate system.
I overlooked this Any idea to address this problem?error, as the map seemed plausible.
However, when I imported the resulting OSM file into Autoware, the lanelet was totally distorted.
The grey line that should encircle the building in the center is missing, as shown below.
Has anyone encountered similar issues or have any suggestions for addressing this problem? Your input would be greatly appreciated!
Thanks in advance!
Expected behavior
As described above
Actual behavior
As described above
Steps to reproduce
As described above
Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: