feat(autoware_static_centrline_generator): load projecter info from yaml file#333
Open
saka1-s wants to merge 3 commits intoautowarefoundation:mainfrom
Open
feat(autoware_static_centrline_generator): load projecter info from yaml file#333saka1-s wants to merge 3 commits intoautowarefoundation:mainfrom
saka1-s wants to merge 3 commits intoautowarefoundation:mainfrom
Conversation
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
kosuke55
approved these changes
Jan 6, 2026
aeda7ee to
1b0a184
Compare
1b0a184 to
ed00a05
Compare
Signed-off-by: Shohei Sakai <saka1s.jp@gmail.com>
ed00a05 to
afafe8d
Compare
mitsudome-r
reviewed
Jan 6, 2026
|
|
||
| <!-- mandatory arguments when mode is AUTO --> | ||
| <arg name="lanelet2_input_file_path" default=""/> | ||
| <arg name="lanelet2_input_dir_path" default="/opt/autoware/maps"/> |
Member
There was a problem hiding this comment.
The PR replaces lanelet2_input_file_path with lanelet2_input_dir_path and introduces assumption that the file names would be "lanelet2_map.osm" and "map_projector_info.yaml", which may not be always true.
Instead, I suggest to change as the following to keep the flexibility to specify the files with different file names.
Suggested change
| <arg name="lanelet2_input_dir_path" default="/opt/autoware/maps"/> | |
| <arg name="map_dir_path" default="/opt/autoware/maps"/> | |
| <arg name="lanelet2_input_file_path" default="$(var map_dir_path)/lanelet2_map.osm"/> | |
| <arg name="map_projector_info_file_path" default="$(var map_dir_path)/map_projector_info.yaml"/> |
Then, the node could take in two parameters, "lanelet2_input_file_path" and "map_projector_info_file_path", and load them respectively instead of internally generating the full path inside the node.
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.
Description
Currently, autoware_static_centrline_generator only supports maps in the MGRS coordinate system and local coordinate system.
This PR can be changed to support a variety of coordinate systems by reading the coordinate system from a yaml file.
How was this PR tested?
With TM coordinate map.
Notes for reviewers
None.
Effects on system behavior
After merged this PR, user need to specify map directory path.