Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl authored Jan 9, 2025
1 parent 8f890c7 commit b21954e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,14 +419,14 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript
{
*params_ = cm_param_listener_->get_params();
}

// not-loaded
for (const auto & component : params_->hardware_components_initial_state.not_loaded)
{
if (components_to_activate.find(component) == components_to_activate.end())
{
RCLCPP_WARN(
get_logger(), "Hardware component '%s' is unknown, therefore cannot be exclueded from loading.",
get_logger(),
"Hardware component '%s' is unknown, therefore cannot be exclueded from loading.",
component.c_str());
}
else
Expand Down

0 comments on commit b21954e

Please sign in to comment.