Skip to content

Commit

Permalink
feat(autoware_geography_utils): add support for local cartesian proje…
Browse files Browse the repository at this point in the history
…ction

Signed-off-by: Sebastian Zęderowski <szederowski@autonomous-systems.pl>
  • Loading branch information
Sebastian Zęderowski authored and xmfcx committed Feb 25, 2025
1 parent 0b1d8b4 commit df4fecf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/autoware_geography_utils/src/lanelet2_projector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ std::unique_ptr<lanelet::Projector> get_lanelet2_projector(const MapProjectorInf
const lanelet::Origin origin{position};
const lanelet::projection::TransverseMercatorProjector projector{origin};
return std::make_unique<lanelet::projection::TransverseMercatorProjector>(projector);
} else if (projector_info.projector_type == MapProjectorInfo::LOCAL_CARTESIAN) {
}

if (projector_info.projector_type == MapProjectorInfo::LOCAL_CARTESIAN) {
lanelet::GPSPoint position{
projector_info.map_origin.latitude, projector_info.map_origin.longitude,
projector_info.map_origin.altitude};
Expand Down

0 comments on commit df4fecf

Please sign in to comment.