-
Notifications
You must be signed in to change notification settings - Fork 9
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
Sumo to Lanelet2 Conversion Issue #17
Comments
Can you share the code which you use to convert from OpenDRIVE to Lanelet2, i.e., the part where you set the projections? |
Thank you for your prompt response. Here are the codes we're using to convert the map from OpenDRIVE to Lanelet2:
I've experimented with adjusting the opendrive_config, lanelet2_config, and odr_config separately, but none of these attempts proved successful. Since I need to convert a map in Michigan, US, could you please provide some advice on how to adapt the projections properly? Thank you for your assistance. |
Can you send me the OpenDRIVE map then I could debug it? |
Sure, and here is the OpenDrive map: Using the opendrive_to_lanelet function directly yields a lanelet2 map that is narrower than expected. Despite expecting a width of 3.2 meters, it measures only 2.3 meters. We used the measurement plugin in JOSM to check lane width, and it looks like this: |
I have looked at the problem but do not yet know a solution, as the applied projections should be correct. |
Thanks for your reply! We will look into the CommonRoad to Lanelet2 conversion process more thoroughly. If we make any progress, we'll be sure to let your know. Once again, we really appreciate your help. |
Hi,
Our objective is to convert a SUMO map to Lanelet2 map, usually it will need to go through a process of sumo->opendrive->commonroad->lanelet2 map. However, after utilizing your pipeline, we noticed that the lane width in the resulting lanelet2 map is narrower than expected.
In an attempt to address this, we experimented with removing all longitude and latitude information from the original SUMO map. While this did improve the lane width in the final lanelet2 map, it led to inaccuracies in the overall scaling of the map. For instance, the radius of roundabouts in the lanelet2 map appeared significantly larger compared to the original SUMO map. Upon inspection, the lane width in the OpenDrive map appears to be correct.
We suspect that the issue may be related to the projection parameters, particularly because our required map is based in Michigan, USA. Despite our efforts to adjust the projection parameters to "NAD83" or set the UTM zone code to 17, the resulting map remains inaccurate. Now we don't know how to address this issue, and we are looking forward to your suggestion.
Many thanks for your help.
The text was updated successfully, but these errors were encountered: