Skip to content

Commit

Permalink
Fix code style (again)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Jan 20, 2024
1 parent 657c4ed commit 1ccd5d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions include/grid_map_geo/grid_map_geo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

#include <grid_map_core/GridMap.hpp>
#include <grid_map_core/iterators/GridMapIterator.hpp>
#include "tf2_ros/transform_broadcaster.h"

#include "grid_map_geo/transform.hpp"
#include "tf2_ros/transform_broadcaster.h"

#if __APPLE__
#include <cpl_string.h>
Expand Down Expand Up @@ -100,20 +100,17 @@ class GridMapGeo {

/**
* @brief Get the name of the coordinate frame of the dataset
*
* @return std::string
*
* @return std::string
*/
std::string getCoordinateName() { return coordinate_name_; };


/**
* @brief Overloading terrain loading with only elevation
*
*
* @param map_path Path to dsm path (Supported formats are *.tif)
*/
bool Load(const std::string& map_path) {
Load(map_path, "");
}
bool Load(const std::string& map_path) { Load(map_path, ""); }

/**
* @brief Helper function for loading terrain from path
Expand All @@ -123,7 +120,7 @@ class GridMapGeo {
* @return true Successfully loaded terrain
* @return false Failed to load terrain
*/
bool Load(const std::string& map_path, const std::string &color_map_path);
bool Load(const std::string& map_path, const std::string& color_map_path);

/**
* @brief Initialize grid map from a geotiff file
Expand Down
2 changes: 1 addition & 1 deletion src/grid_map_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include <gdal/ogr_spatialref.h>
#endif

GridMapGeo::GridMapGeo(const std::string& frame_id) { frame_id_ = frame_id; }
GridMapGeo::GridMapGeo(const std::string &frame_id) { frame_id_ = frame_id; }

GridMapGeo::~GridMapGeo() {}

Expand Down

0 comments on commit 1ccd5d3

Please sign in to comment.