From b89dc196865cb6e76a332afbcd99b4379cbd0ab6 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 16 Nov 2023 12:28:07 +0100 Subject: [PATCH] add comment --- .../include/behaviortree_ros2/ros_node_params.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/behaviortree_ros2/include/behaviortree_ros2/ros_node_params.hpp b/behaviortree_ros2/include/behaviortree_ros2/ros_node_params.hpp index cfe49cd..148c086 100644 --- a/behaviortree_ros2/include/behaviortree_ros2/ros_node_params.hpp +++ b/behaviortree_ros2/include/behaviortree_ros2/ros_node_params.hpp @@ -35,7 +35,10 @@ struct RosNodeParams std::string default_port_value; // parameters used only by service client and action clients + + // timeout when sending a request std::chrono::milliseconds server_timeout = std::chrono::milliseconds(1000); + // timeout used when detecting the server the first time std::chrono::milliseconds wait_for_server_timeout = std::chrono::milliseconds(500); };