From 61d70bc86bfe9edfd58b809f62edabb47bd07839 Mon Sep 17 00:00:00 2001 From: Steve Macenski Date: Wed, 13 Sep 2023 17:34:13 -0700 Subject: [PATCH] removing deprecated progress single checker param (#3815) --- nav2_controller/src/controller_server.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/nav2_controller/src/controller_server.cpp b/nav2_controller/src/controller_server.cpp index 241ccebc24..69b06e3128 100644 --- a/nav2_controller/src/controller_server.cpp +++ b/nav2_controller/src/controller_server.cpp @@ -86,20 +86,6 @@ ControllerServer::on_configure(const rclcpp_lifecycle::State & /*state*/) RCLCPP_INFO(get_logger(), "getting progress checker plugins.."); get_parameter("progress_checker_plugins", progress_checker_ids_); - try { - nav2_util::declare_parameter_if_not_declared( - node, "progress_checker_plugin", rclcpp::PARAMETER_STRING); - std::string progress_checker_plugin; - progress_checker_plugin = node->get_parameter("progress_checker_plugin").as_string(); - progress_checker_ids_.clear(); - progress_checker_ids_.push_back(progress_checker_plugin); - RCLCPP_WARN( - get_logger(), - "\"progress_checker_plugin\" parameter was deprecated and will be removed soon. Use " - "\"progress_checker_plugins\" instead to specify a list of plugins"); - } catch (const std::exception &) { - // This is normal situation: progress_checker_plugin parameter should not being declared - } if (progress_checker_ids_ == default_progress_checker_ids_) { for (size_t i = 0; i < default_progress_checker_ids_.size(); ++i) { nav2_util::declare_parameter_if_not_declared(