Skip to content

Commit

Permalink
removing deprecated progress single checker param (#3815)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored Sep 14, 2023
1 parent 8d0de61 commit 61d70bc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions nav2_controller/src/controller_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 61d70bc

Please sign in to comment.