summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-22 12:17:00 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-22 12:17:00 +0000
commit6de5d5d090065f5af8456e058426b92097da2ab3 (patch)
tree23c43567213ab862fc46c25454faacaba5a407e0 /ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch
parent3b43c6e3fed4d6f8a92eeb0495262e1e8de92f43 (diff)
automatic import of ros-humble-nav2-behaviorsopeneuler24.03_LTS
Diffstat (limited to 'ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch')
-rw-r--r--ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch b/ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch
new file mode 100644
index 0000000..eb0a37e
--- /dev/null
+++ b/ros-humble-nav2-behaviors-1.1.20-fix-gcc12-error.patch
@@ -0,0 +1,13 @@
+diff --git a/src/behavior_server.cpp b/src/behavior_server.cpp
+index d6f7568..0d2c4ae 100644
+--- a/src/behavior_server.cpp
++++ b/src/behavior_server.cpp
+@@ -77,7 +77,7 @@ BehaviorServer::on_configure(const rclcpp_lifecycle::State & /*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);