summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch')
-rw-r--r--ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch b/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
new file mode 100644
index 0000000..55d3ee1
--- /dev/null
+++ b/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
@@ -0,0 +1,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);