summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-04-06 15:46:56 +0000
committerCoprDistGit <infra@openeuler.org>2026-04-06 15:46:56 +0000
commitc16457592867b76804cbd5de6b47442c5d112438 (patch)
treefc0238ba9d36e9442432697b15a8d5502c8f4ef1 /ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch
parent8d7bd994b6f2edb222f5cf1971b1a0d516035f8a (diff)
automatic import of nav2-smootheropeneuler24.03_LTS
Diffstat (limited to 'ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch')
-rw-r--r--ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch b/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch
new file mode 100644
index 0000000..a8dc597
--- /dev/null
+++ b/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch
@@ -0,0 +1,13 @@
+diff --git a/src/nav2_smoother.cpp b/src/nav2_smoother.cpp
+index bb68ee3..69bfc0d 100644
+--- a/src/nav2_smoother.cpp
++++ b/src/nav2_smoother.cpp
+@@ -85,7 +85,7 @@ SmootherServer::on_configure(const rclcpp_lifecycle::State &)
+ transform_listener_ = std::make_shared<tf2_ros::TransformListener>(*tf_);
+
+ std::string costmap_topic, footprint_topic, robot_base_frame;
+- double transform_tolerance;
++ double transform_tolerance = 0.0;
+ this->get_parameter("costmap_topic", costmap_topic);
+ this->get_parameter("footprint_topic", footprint_topic);
+ this->get_parameter("transform_tolerance", transform_tolerance);