From 7ea83faa539a67a57d18625e440ed04803801c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0togl?= Date: Sat, 17 Jun 2023 21:08:12 +0200 Subject: [PATCH] Ignore empty names if given in yaml. --- controller_manager/src/controller_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controller_manager/src/controller_manager.cpp b/controller_manager/src/controller_manager.cpp index 0f3da7d83c..eb7ff5494b 100644 --- a/controller_manager/src/controller_manager.cpp +++ b/controller_manager/src/controller_manager.cpp @@ -257,6 +257,10 @@ void ControllerManager::init_resource_manager(const std::string & robot_descript { for (const auto & component : components_to_set) { + if (component.empty()) + { + continue; + } if (components_to_activate.find(component) == components_to_activate.end()) { RCLCPP_WARN(