From 1ef462e71d12fd3e4ffb45e332a7d9883e921921 Mon Sep 17 00:00:00 2001 From: nelson Date: Thu, 21 Mar 2024 20:44:39 +0000 Subject: [PATCH] fix missing param declare (#4203) Signed-off-by: nelson --- .../include/nav2_behavior_tree/bt_action_server_impl.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp index 5e005fc610..12dffd2886 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/bt_action_server_impl.hpp @@ -64,6 +64,9 @@ BtActionServer::BtActionServer( if (!node->has_parameter("action_server_result_timeout")) { node->declare_parameter("action_server_result_timeout", 900.0); } + if (!node->has_parameter("wait_for_service_timeout")) { + node->declare_parameter("wait_for_service_timeout", 1000); + } std::vector error_code_names = { "follow_path_error_code",