From a7e009ba4e88e07583c1de1dc0d992e1880a9c52 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 cf3eeb46cbe..20d6702c12b 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 @@ -60,6 +60,9 @@ BtActionServer::BtActionServer( if (!node->has_parameter("default_server_timeout")) { node->declare_parameter("default_server_timeout", 20); } + if (!node->has_parameter("wait_for_service_timeout")) { + node->declare_parameter("wait_for_service_timeout", 1000); + } } template