Skip to content

Commit

Permalink
Fix (#31)
Browse files Browse the repository at this point in the history
Fixing what slipped through in #16
  • Loading branch information
Jaeyoung-Lim authored and Ryanf55 committed Nov 29, 2024
1 parent 50878c8 commit 0a87c07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/grid_map_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,12 @@ bool GridMapGeo::AddLayerOffset(const double offset_distance, const std::string
return true;
}

void GridMapGeo::setGlobalOrigin(ESPG src_coord, const Eigen::Vector3d origin) {
// Transform global origin into CH1903 / LV03 coordinates
maporigin_.espg = src_coord;
maporigin_.position = origin;
}

void GridMapGeo::AddLayerNormals(const std::string reference_layer) {
grid_map_.add(reference_layer + "_normal_x");
grid_map_.add(reference_layer + "_normal_y");
Expand Down

0 comments on commit 0a87c07

Please sign in to comment.