diff -Naur ros-humble-nav2-smoother-1.1.9_org/src/nav2_smoother.cpp ros-humble-nav2-smoother-1.1.9/src/nav2_smoother.cpp --- ros-humble-nav2-smoother-1.1.9_org/src/nav2_smoother.cpp 2023-09-11 15:08:56.479491453 +0800 +++ ros-humble-nav2-smoother-1.1.9/src/nav2_smoother.cpp 2023-09-11 16:37:14.361099966 +0800 @@ -85,7 +85,7 @@ transform_listener_ = std::make_shared(*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);