File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
include/controller_manager Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -544,22 +544,6 @@ struct ControllerChainSpec
544
544
class ControllerChainDependencyGraph
545
545
{
546
546
public:
547
- void add_dependency (const std::string & predecessor, const std::string & successor)
548
- {
549
- if (controller_graph_.count (predecessor) == 0 )
550
- {
551
- controller_graph_[predecessor] = ControllerPeerInfo ();
552
- controller_graph_[predecessor].name = predecessor;
553
- }
554
- if (controller_graph_.count (successor) == 0 )
555
- {
556
- controller_graph_[successor] = ControllerPeerInfo ();
557
- controller_graph_[successor].name = successor;
558
- }
559
- controller_graph_[predecessor].successors .push_back (&controller_graph_[successor]);
560
- controller_graph_[successor].predecessors .push_back (&controller_graph_[predecessor]);
561
- }
562
-
563
547
void add_dependency (const ControllerPeerInfo & predecessor, const ControllerPeerInfo & successor)
564
548
{
565
549
if (controller_graph_.count (predecessor.name ) == 0 )
Original file line number Diff line number Diff line change @@ -1341,7 +1341,6 @@ controller_interface::return_type ControllerManager::configure_controller(
1341
1341
controller_manager::ControllersListIterator ctrl_it;
1342
1342
if (is_interface_a_chained_interface (cmd_itf, controllers, ctrl_it))
1343
1343
{
1344
- controller_chain_dependency_graph_.add_dependency (controller_name, ctrl_it->info .name );
1345
1344
ros2_control::add_item (
1346
1345
controller_chain_spec_[controller_name].following_controllers , ctrl_it->info .name );
1347
1346
ros2_control::add_item (
@@ -1356,7 +1355,6 @@ controller_interface::return_type ControllerManager::configure_controller(
1356
1355
controller_manager::ControllersListIterator ctrl_it;
1357
1356
if (is_interface_a_chained_interface (state_itf, controllers, ctrl_it))
1358
1357
{
1359
- controller_chain_dependency_graph_.add_dependency (ctrl_it->info .name , controller_name);
1360
1358
ros2_control::add_item (
1361
1359
controller_chain_spec_[controller_name].preceding_controllers , ctrl_it->info .name );
1362
1360
ros2_control::add_item (
You can’t perform that action at this time.
0 commit comments