File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
behaviortree_ros2/include/behaviortree_ros2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ RosActionNode<T>::ActionClientInstance::ActionClientInstance(
244244 std::shared_ptr<rclcpp::Node> node, const std::string& action_name)
245245{
246246 callback_group =
247- node->create_callback_group (rclcpp::CallbackGroupType::MutuallyExclusive);
247+ node->create_callback_group (rclcpp::CallbackGroupType::MutuallyExclusive, false );
248248 callback_executor.add_callback_group (callback_group, node->get_node_base_interface ());
249249 action_client = rclcpp_action::create_client<T>(node, action_name, callback_group);
250250}
@@ -309,7 +309,7 @@ inline bool RosActionNode<T>::createClient(const std::string& action_name)
309309 if (it == registry.end () || it->second .expired ())
310310 {
311311 client_instance_ = std::make_shared<ActionClientInstance>(node, action_name);
312- registry.insert_or_assign ( action_client_key_, client_instance_ );
312+ registry.insert_or_assign (action_client_key_, client_instance_);
313313 }
314314 else
315315 {
You can’t perform that action at this time.
0 commit comments