blob: 2375c3161bcc766bc3a5d2b45c8c367d460d54e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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);
|