summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-28 07:08:27 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-28 07:08:27 +0000
commitf1834a0d950d773f4e65051ecc07da78a24fdb83 (patch)
treecbac8a4b8eea9467160db912938c2478ea235e8f /ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
parent596b8cc193b9147d7f96f1b41ac0dc59391f9a5b (diff)
automatic import of nav2-waypoint-follower
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.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",