From 9e3b0746e49923d03ed7eef7283964681fe7d6ad Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 28 Mar 2026 06:52:55 +0000 Subject: automatic import of nav2-smoother --- ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch (limited to 'ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch') 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..6e856ab --- /dev/null +++ b/ros-humble-nav2-smoother-1.1.20-fix-gcc12-error.patch @@ -0,0 +1,12 @@ +diff -Naur nav2-smoother-1.1.20_orig/src/nav2_smoother.cpp nav2-smoother-1.1.20/src/nav2_smoother.cpp +--- nav2-smoother-1.1.20_orig/src/nav2_smoother.cpp 2024-01-01 00:00:00.000000000 +0800 ++++ nav2-smoother-1.1.20/src/nav2_smoother.cpp 2024-01-01 00:00:00.000000000 +0800 +@@ -85,7 +85,7 @@ + transform_listener_ = std::make_shared(*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); -- cgit v1.2.3