Skip to content

Commit

Permalink
fix(rclcpp_components): increase the service queue sizes in component…
Browse files Browse the repository at this point in the history
…_container (#2363) (#2381)

* fix(rclcpp_components): increase the service queue sizes in component_container

Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
(cherry picked from commit 9c098e5)

Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
  • Loading branch information
mergify[bot] and xmfcx authored Dec 1, 2023
1 parent da3d2f4 commit dc6ac4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rclcpp_components/src/component_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ ComponentManager::ComponentManager(
{
loadNode_srv_ = create_service<LoadNode>(
"~/_container/load_node",
std::bind(&ComponentManager::on_load_node, this, _1, _2, _3));
std::bind(&ComponentManager::on_load_node, this, _1, _2, _3),
rclcpp::ServicesQoS().keep_last(200));
unloadNode_srv_ = create_service<UnloadNode>(
"~/_container/unload_node",
std::bind(&ComponentManager::on_unload_node, this, _1, _2, _3));
std::bind(&ComponentManager::on_unload_node, this, _1, _2, _3),
rclcpp::ServicesQoS().keep_last(200));
listNodes_srv_ = create_service<ListNodes>(
"~/_container/list_nodes",
std::bind(&ComponentManager::on_list_nodes, this, _1, _2, _3));
Expand Down

0 comments on commit dc6ac4e

Please sign in to comment.