diff --git a/terrain_planner_benchmark/src/ompl_benchmark_node.cpp b/terrain_planner_benchmark/src/ompl_benchmark_node.cpp index e054d414..8e747e77 100644 --- a/terrain_planner_benchmark/src/ompl_benchmark_node.cpp +++ b/terrain_planner_benchmark/src/ompl_benchmark_node.cpp @@ -109,7 +109,7 @@ int main(int argc, char **argv) { nh_private.param("output_file_path", output_file_path, ""); auto terrain_map = std::make_shared(); - terrain_map->initializeFromGeotiff(map_path, false); + terrain_map->initializeFromGeotiff(map_path); if (!color_file_path.empty()) { // Load color layer if the color path is nonempty terrain_map->addColorFromGeotiff(color_file_path); } diff --git a/terrain_planner_benchmark/src/terrain_planner_benchmark_node.cpp b/terrain_planner_benchmark/src/terrain_planner_benchmark_node.cpp index e2652de3..d6a75c13 100644 --- a/terrain_planner_benchmark/src/terrain_planner_benchmark_node.cpp +++ b/terrain_planner_benchmark/src/terrain_planner_benchmark_node.cpp @@ -76,7 +76,7 @@ int main(int argc, char** argv) { // Load terrain map from defined tif paths auto terrain_map = std::make_shared(); - terrain_map->initializeFromGeotiff(map_path, false); + terrain_map->initializeFromGeotiff(map_path); if (!color_file_path.empty()) { // Load color layer if the color path is nonempty terrain_map->addColorFromGeotiff(color_file_path); } diff --git a/terrain_planner_benchmark/src/test_ics.cpp b/terrain_planner_benchmark/src/test_ics.cpp index d4a34def..ea932abb 100644 --- a/terrain_planner_benchmark/src/test_ics.cpp +++ b/terrain_planner_benchmark/src/test_ics.cpp @@ -234,7 +234,7 @@ int main(int argc, char** argv) { nh_private.param("visualize", visualize, true); std::shared_ptr reference_map = std::make_shared(); - reference_map->Load(map_path, false, map_color_path); + reference_map->Load(map_path, map_color_path); reference_map->AddLayerDistanceTransform(50.0, "distance_surface"); reference_map->AddLayerDistanceTransform(120.0, "max_elevation"); double width = reference_map->getGridMap().getLength().y(); @@ -261,7 +261,7 @@ int main(int argc, char** argv) { std::cout << "Valid circlular terminal state coverage" << std::endl; std::shared_ptr terrain_map = std::make_shared(); - terrain_map->Load(map_path, false, map_color_path); + terrain_map->Load(map_path, map_color_path); terrain_map->AddLayerDistanceTransform(50.0, "distance_surface"); terrain_map->AddLayerDistanceTransform(120.0, "max_elevation"); diff --git a/terrain_planner_benchmark/src/test_rrt_circle_goal.cpp b/terrain_planner_benchmark/src/test_rrt_circle_goal.cpp index b33811af..90135a64 100644 --- a/terrain_planner_benchmark/src/test_rrt_circle_goal.cpp +++ b/terrain_planner_benchmark/src/test_rrt_circle_goal.cpp @@ -225,7 +225,7 @@ int main(int argc, char** argv) { // Load terrain map from defined tif paths auto terrain_map = std::make_shared(); - terrain_map->initializeFromGeotiff(map_path, false); + terrain_map->initializeFromGeotiff(map_path); if (!color_file_path.empty()) { // Load color layer if the color path is nonempty terrain_map->addColorFromGeotiff(color_file_path); } diff --git a/terrain_planner_benchmark/src/test_rrt_node.cpp b/terrain_planner_benchmark/src/test_rrt_node.cpp index 8f8290c7..d66b7762 100644 --- a/terrain_planner_benchmark/src/test_rrt_node.cpp +++ b/terrain_planner_benchmark/src/test_rrt_node.cpp @@ -101,7 +101,7 @@ int main(int argc, char** argv) { // Load terrain map from defined tif paths auto terrain_map = std::make_shared(); - terrain_map->initializeFromGeotiff(map_path, false); + terrain_map->initializeFromGeotiff(map_path); if (!color_file_path.empty()) { // Load color layer if the color path is nonempty terrain_map->addColorFromGeotiff(color_file_path); } diff --git a/terrain_planner_benchmark/src/test_rrt_replanning_node.cpp b/terrain_planner_benchmark/src/test_rrt_replanning_node.cpp index aa246920..e108fb00 100644 --- a/terrain_planner_benchmark/src/test_rrt_replanning_node.cpp +++ b/terrain_planner_benchmark/src/test_rrt_replanning_node.cpp @@ -100,7 +100,7 @@ int main(int argc, char** argv) { // Load terrain map from defined tif paths auto terrain_map = std::make_shared(); - terrain_map->initializeFromGeotiff(map_path, false); + terrain_map->initializeFromGeotiff(map_path); if (!color_file_path.empty()) { // Load color layer if the color path is nonempty terrain_map->addColorFromGeotiff(color_file_path); }