Skip to content

Commit 5966fcf

Browse files
committed
Use prepare_for_deactivation instead of wait_for_trigger_update_to_finish
1 parent ba92109 commit 5966fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller_manager/src/controller_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ controller_interface::return_type ControllerManager::switch_controller(
15331533
std::bind(controller_name_compare, std::placeholders::_1, controller));
15341534
if (controller_it != controllers.end())
15351535
{
1536-
controller_it->c->wait_for_trigger_update_to_finish();
1536+
controller_it->c->prepare_for_deactivation();
15371537
}
15381538
}
15391539

0 commit comments

Comments
 (0)