summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch17
1 files changed, 8 insertions, 9 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
index 55d3ee1..18d7eac 100644
--- 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
@@ -1,12 +1,11 @@
-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
+--- nav2-waypoint-follower-1.1.20.orig/plugins/input_at_waypoint.cpp 2026-03-28 15:06:38.288814113 +0800
++++ nav2-waypoint-follower-1.1.20/plugins/input_at_waypoint.cpp 2026-03-28 15:06:38.292816320 +0800
@@ -49,7 +49,7 @@
- {
- std::string input_topic;
- std::string message_type;
+ logger_ = node->get_logger();
+ clock_ = node->get_clock();
+
- double timeout;
+ double timeout = 10.0;
-
- getInput("input_topic", input_topic);
- getInput("message_type", message_type);
+ std::string input_topic;
+ nav2_util::declare_parameter_if_not_declared(
+ node, plugin_name + ".timeout",