Skip to content

Commit

Permalink
Ignore empty names if given in yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Jun 17, 2023
1 parent 397e7c7 commit 7ea83fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7ea83fa

Please sign in to comment.