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 06:52:55 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-28 06:52:55 +0000
commit596b8cc193b9147d7f96f1b41ac0dc59391f9a5b (patch)
tree06465376c4929797af77fb1906802cf776e5f720 /ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
parentbf725a5432d9275cfd0828f0c0db5b9f052731a2 (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.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);