blob: a8dc5973fea3421495fc26325a13ad954a2d48b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/nav2_smoother.cpp b/src/nav2_smoother.cpp
index bb68ee3..69bfc0d 100644
--- a/src/nav2_smoother.cpp
+++ b/src/nav2_smoother.cpp
@@ -85,7 +85,7 @@ SmootherServer::on_configure(const rclcpp_lifecycle::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);
|