Add Lanelet2 Map Conversion - #572
Draft
lee-scieninc wants to merge 2 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello, I'm Joonho Lee, an engineer at SCIEN, a TIER IV partner company.
Thank you for reviewing this contribution.
What
Why
Lanelet2 maps need projection, topology conversion, and binary validation before
they can be loaded by PufferDrive. This adds a reproducible command-line path for
that workflow.
Notes
roadandhighwayrelations become drivable lanes.security-sensitive or copyrighted data.
Testing
python -m pytest -q tests/unit_tests/test_lanelet2_tools.py— 19 passedpython -m compileall -q data_utils/lanelet2_*.py data_utils/visualize_map_bin.py— passedDriveload, reset, and one step — passed with finite rewardsUsage
python -m pip install -e ".[lanelet2]" python data_utils/lanelet2_to_bin.py INPUT.osm OUTPUT.bin \ --validation-report validation.json python data_utils/visualize_map_bin.py OUTPUT.bin \ --png preview.pngOptional crop: