From cd890e7ef65d7c487556232f288e65813678dd77 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Sat, 13 Jan 2024 23:02:14 -0700 Subject: [PATCH] Support launching with no color when not configured Signed-off-by: Ryan Friedman --- src/test_tif_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_tif_loader.cpp b/src/test_tif_loader.cpp index c920891..a1dddc4 100644 --- a/src/test_tif_loader.cpp +++ b/src/test_tif_loader.cpp @@ -53,7 +53,7 @@ class MapPublisher : public rclcpp::Node { original_map_pub_ = this->create_publisher("elevation_map", 1); std::string file_path = this->declare_parameter("tif_path", "."); - std::string color_path = this->declare_parameter("tif_color_path", "."); + std::string color_path = this->declare_parameter("tif_color_path", ""); RCLCPP_INFO_STREAM(get_logger(), "file_path " << file_path); RCLCPP_INFO_STREAM(get_logger(), "color_path " << color_path);