Skip to content

Commit

Permalink
modify a bit the logging of reordered list
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Feb 11, 2024
1 parent 3cef552 commit 0b9584f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,12 +779,12 @@ controller_interface::return_type ControllerManager::configure_controller(
if (controller_it != to.end()) new_list.push_back(*controller_it);
}

to = new_list;
RCLCPP_DEBUG(get_logger(), "Reordered controllers list is:");
for (const auto & ctrl : ordered_controllers_names_)
for (const auto & ctrl : to)
{
RCLCPP_DEBUG(this->get_logger(), "\t%s", ctrl.c_str());
RCLCPP_DEBUG(this->get_logger(), "\t%s", ctrl.info.name.c_str());
}
to = new_list;

// switch lists
rt_controllers_wrapper_.switch_updated_list(guard);
Expand Down

0 comments on commit 0b9584f

Please sign in to comment.