summaryrefslogtreecommitdiff
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
parentbf725a5432d9275cfd0828f0c0db5b9f052731a2 (diff)
automatic import of nav2-waypoint-follower
-rw-r--r--nav2-waypoint-follower.spec3
-rw-r--r--ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch12
2 files changed, 14 insertions, 1 deletions
diff --git a/nav2-waypoint-follower.spec b/nav2-waypoint-follower.spec
index 8fb395d..6f044b2 100644
--- a/nav2-waypoint-follower.spec
+++ b/nav2-waypoint-follower.spec
@@ -16,6 +16,7 @@ Summary: A waypoint follower navigation server
License: Apache-2.0
Source0: %{RosPkgName}-%{version}.tar.gz
+Patch0: ros-humble-nav2-waypoint-follower-1.1.20-fix-gcc12-error.patch
Requires: ros-%{ros_distro}-nav2-common
Requires: ros-%{ros_distro}-cv-bridge
@@ -61,7 +62,7 @@ Provides: %{name}-runtime = %{version}-%{release}
A waypoint follower navigation server
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -c -n %{name}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
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);