File tree 1 file changed +4
-4
lines changed
common/autoware_geography_utils/src
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,17 +53,17 @@ std::unique_ptr<lanelet::Projector> get_lanelet2_projector(const MapProjectorInf
53
53
}
54
54
55
55
if (projector_info.projector_type == MapProjectorInfo::LOCAL_CARTESIAN) {
56
- lanelet::GPSPoint position{
56
+ const lanelet::GPSPoint position{
57
57
projector_info.map_origin .latitude , projector_info.map_origin .longitude ,
58
58
projector_info.map_origin .altitude };
59
- lanelet::Origin origin{position};
60
- lanelet::projection::LocalCartesianProjector projector{origin};
59
+ const lanelet::Origin origin{position};
60
+ const lanelet::projection::LocalCartesianProjector projector{origin};
61
61
return std::make_unique<lanelet::projection::LocalCartesianProjector>(projector);
62
62
}
63
63
64
64
throw std::invalid_argument (
65
65
" Invalid map projector type: " + projector_info.projector_type +
66
- " . Currently supported types: MGRS, LocalCartesianUTM, and TransverseMercator" );
66
+ " . Currently supported types: MGRS, LocalCartesianUTM, LocalCartesian and TransverseMercator" );
67
67
}
68
68
69
69
} // namespace autoware::geography_utils
You can’t perform that action at this time.
0 commit comments