File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
controller_manager/include/controller_manager Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -418,17 +418,23 @@ class ControllerChainDependencyGraph
418
418
{
419
419
return {};
420
420
}
421
+ controller_graph_[controller_name].build_mutually_exclusive_groups ();
421
422
controller_graph_[controller_name].get_controllers_to_activate (controllers_to_activate);
422
423
return controllers_to_activate;
423
424
}
424
425
425
426
std::vector<std::string> get_dependencies_to_deactivate (const std::string & controller_name)
426
427
{
428
+ RCLCPP_INFO (
429
+ rclcpp::get_logger (" controller_manager" ),
430
+ " +++++++++++++++++++++++++++++++ Getting dependencies to DEACTIVATE "
431
+ " +++++++++++++++++++++++++++++++" );
427
432
std::vector<std::string> controllers_to_deactivate ({controller_name});
428
433
if (controller_graph_.count (controller_name) == 0 )
429
434
{
430
435
return {};
431
436
}
437
+ controller_graph_[controller_name].build_mutually_exclusive_groups ();
432
438
controller_graph_[controller_name].get_controllers_to_deactivate (controllers_to_deactivate);
433
439
return controllers_to_deactivate;
434
440
}
You can’t perform that action at this time.
0 commit comments