Skip to content

Commit

Permalink
feat(geography_utils): add mgrs code in projector (autowarefoundation…
Browse files Browse the repository at this point in the history
…#5990)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 authored and karishma1911 committed May 28, 2024
1 parent f597adc commit 6faa6aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/geography_utils/src/lanelet2_projector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ std::unique_ptr<lanelet::Projector> get_lanelet2_projector(const MapProjectorInf

} else if (projector_info.projector_type == MapProjectorInfo::MGRS) {
lanelet::projection::MGRSProjector projector{};
projector.setMGRSCode(projector_info.mgrs_grid);
return std::make_unique<lanelet::projection::MGRSProjector>(projector);

} else if (projector_info.projector_type == MapProjectorInfo::TRANSVERSE_MERCATOR) {
Expand Down

0 comments on commit 6faa6aa

Please sign in to comment.