summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
blob: 55d3ee1e7f16ec23cbeed5c063eefa8fa6eaf722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur nav2-waypoint-follower-1.1.20_orig/plugins/input_at_waypoint.cpp nav2-waypoint-follower-1.1.20/plugins/input_at_waypoint.cpp
--- nav2-waypoint-follower-1.1.20_orig/plugins/input_at_waypoint.cpp	2024-01-01 00:00:00.000000000 +0800
+++ nav2-waypoint-follower-1.1.20/plugins/input_at_waypoint.cpp	2024-01-01 00:00:00.000000000 +0800
@@ -49,7 +49,7 @@
 {
   std::string input_topic;
   std::string message_type;
-  double timeout;
+  double timeout = 10.0;
 
   getInput("input_topic", input_topic);
   getInput("message_type", message_type);