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