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 Nov 27, 2023
1 parent 85f8aa7 commit 7c6445d
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 @@ -324,6 +324,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 7c6445d

Please sign in to comment.