Skip to content

Commit

Permalink
feat(geography_utils): add mgrs code in projector (#5990)
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored Jan 15, 2024
1 parent 0aa3927 commit a4c9207
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 a4c9207

Please sign in to comment.