Skip to content

Commit 21675ac

Browse files
authored
Support launching with no color when not configured (#41)
Signed-off-by: Ryan Friedman <[email protected]>
1 parent 684e62c commit 21675ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_tif_loader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class MapPublisher : public rclcpp::Node {
5353
original_map_pub_ = this->create_publisher<grid_map_msgs::msg::GridMap>("elevation_map", 1);
5454

5555
std::string file_path = this->declare_parameter("tif_path", ".");
56-
std::string color_path = this->declare_parameter("tif_color_path", ".");
56+
std::string color_path = this->declare_parameter("tif_color_path", "");
5757

5858
RCLCPP_INFO_STREAM(get_logger(), "file_path " << file_path);
5959
RCLCPP_INFO_STREAM(get_logger(), "color_path " << color_path);

0 commit comments

Comments
 (0)