From 20580545ce5afd2b7fc03acdb562a56dcee36332 Mon Sep 17 00:00:00 2001 From: Vladyslav Hrynchak Date: Mon, 29 Jul 2024 13:02:17 +0300 Subject: [PATCH] Fix CI --- nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp b/nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp index c20708788c1..fd618e3fd45 100644 --- a/nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp +++ b/nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp @@ -57,7 +57,8 @@ inline BT::NodeStatus GoalUpdater::tick() getInput("input_goal", goal); - callback_group_executor_.spin_all(std::chrono::milliseconds(50)); + callback_group_executor_.spin_all(std::chrono::milliseconds(1)); + callback_group_executor_.spin_all(std::chrono::milliseconds(49)); if (last_goal_received_.header.stamp != rclcpp::Time(0)) { auto last_goal_received_time = rclcpp::Time(last_goal_received_.header.stamp);