summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-08 14:52:55 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-08 14:52:55 +0000
commitd894e52f6091586d0967d1952f5be951237d7d17 (patch)
treef44752d1e4b23ca8cf9890526c5d3572493aefa9 /ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch
parentcfaf02e14ab5ed19254fb5d99b9ccbf98f49cea6 (diff)
automatic import of ros-humble-nav2-behaviorsopeneuler24.03_LTS
Diffstat (limited to 'ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch')
-rw-r--r--ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch b/ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch
new file mode 100644
index 0000000..2375c31
--- /dev/null
+++ b/ros-humble-nav2-behaviors-1.1.9-fix-gcc12-error.patch
@@ -0,0 +1,12 @@
+diff -Naur ros-humble-nav2-behaviors-1.1.9_org/src/behavior_server.cpp ros-humble-nav2-behaviors-1.1.9/src/behavior_server.cpp
+--- ros-humble-nav2-behaviors-1.1.9_org/src/behavior_server.cpp 2023-09-11 14:34:51.041527892 +0800
++++ ros-humble-nav2-behaviors-1.1.9/src/behavior_server.cpp 2023-09-11 14:35:46.370338402 +0800
+@@ -77,7 +77,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);