From 988613430f6586077c51ac46820d6eef65f3941b 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 026fdb4cbc..5c4fb4b173 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",