From 21675ac5bbc542f825264e4caa3e4f191321d918 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 13 Jan 2024 23:47:16 -0700 Subject: [PATCH] Support launching with no color when not configured (#41) 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);