From d84923901b6e50f5a01724162267c7baf3c8f91c Mon Sep 17 00:00:00 2001 From: Ramon Wijnands Date: Thu, 9 Jul 2026 10:38:41 +0200 Subject: [PATCH] Use the new TransformListener constructor This fixes a deprecation warning. --- pcl_ros/include/pcl_ros/pcl_node.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcl_ros/include/pcl_ros/pcl_node.hpp b/pcl_ros/include/pcl_ros/pcl_node.hpp index 77e30500..8fdf06dd 100644 --- a/pcl_ros/include/pcl_ros/pcl_node.hpp +++ b/pcl_ros/include/pcl_ros/pcl_node.hpp @@ -100,7 +100,7 @@ class PCLNode : public rclcpp::Node use_indices_(false), transient_local_indices_(false), max_queue_size_(3), approximate_sync_(false), tf_buffer_(this->get_clock()), - tf_listener_(tf_buffer_, this) + tf_listener_(tf_buffer_, *this) { { rcl_interfaces::msg::ParameterDescriptor desc;