Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Vladyslav Hrynchak <[email protected]>
  • Loading branch information
VladyslavHrynchak200204 committed Jul 30, 2024
1 parent 3bf69bf commit f601192
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nav2_behavior_tree/plugins/decorator/goal_updater_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ inline BT::NodeStatus GoalUpdater::tick()

getInput("input_goal", goal);

callback_group_executor_.spin_all(std::chrono::milliseconds(50));
// Spin multiple times due to rclcpp regression in Jazzy requiring a 'warm up' spin
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);
Expand Down

0 comments on commit f601192

Please sign in to comment.