diff --git a/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp b/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp index d29ba626aa01d..3e262928e46c9 100644 --- a/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp +++ b/simulator/simple_planning_simulator/src/simple_planning_simulator/simple_planning_simulator_core.cpp @@ -74,9 +74,7 @@ namespace simple_planning_simulator { SimplePlanningSimulator::SimplePlanningSimulator(const rclcpp::NodeOptions & options) -: Node("simple_planning_simulator", options), - tf_buffer_(get_clock()), - tf_listener_(tf_buffer_, std::shared_ptr(this, [](auto) {}), false) +: Node("simple_planning_simulator", options), tf_buffer_(get_clock()), tf_listener_(tf_buffer_) { simulated_frame_id_ = declare_parameter("simulated_frame_id", "base_link"); origin_frame_id_ = declare_parameter("origin_frame_id", "odom");