summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch
blob: 29069f28f7fa1cf7d39e2f3c1ac23e9d4c2c2350 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- nav2-smoother-1.1.20.orig/src/nav2_smoother.cpp	2026-03-28 15:06:23.042710677 +0800
+++ nav2-smoother-1.1.20/src/nav2_smoother.cpp	2026-03-28 15:06:23.046713886 +0800
@@ -85,7 +85,7 @@
   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);