From ad6add85e281f6b1c1eb47ddb8b0eca8089d634c Mon Sep 17 00:00:00 2001 From: Pranava Date: Sun, 3 May 2026 18:34:38 +0530 Subject: [PATCH] Updated deprecated .h headers from tf2_ros --- turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp | 2 +- turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp | 2 +- turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp | 2 +- turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp | 2 +- turtle_tf2_cpp/src/turtle_tf2_listener.cpp | 4 ++-- turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp b/turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp index de08ba7..bd056c4 100644 --- a/turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp +++ b/turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp @@ -18,7 +18,7 @@ #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2_ros/transform_broadcaster.h" +#include "tf2_ros/transform_broadcaster.hpp" using namespace std::chrono_literals; diff --git a/turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp b/turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp index 057134f..b68f1f3 100644 --- a/turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp +++ b/turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp @@ -18,7 +18,7 @@ #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2_ros/transform_broadcaster.h" +#include "tf2_ros/transform_broadcaster.hpp" using namespace std::chrono_literals; diff --git a/turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp b/turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp index ddd3218..bb659f2 100644 --- a/turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp +++ b/turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp @@ -17,7 +17,7 @@ #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" #include "tf2/LinearMath/Quaternion.hpp" -#include "tf2_ros/static_transform_broadcaster.h" +#include "tf2_ros/static_transform_broadcaster.hpp" class StaticFramePublisher : public rclcpp::Node { diff --git a/turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp b/turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp index eadc759..bacfbcf 100644 --- a/turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp +++ b/turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp @@ -20,7 +20,7 @@ #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" #include "tf2/LinearMath/Quaternion.hpp" -#include "tf2_ros/transform_broadcaster.h" +#include "tf2_ros/transform_broadcaster.hpp" #include "turtlesim_msgs/msg/pose.hpp" class FramePublisher : public rclcpp::Node diff --git a/turtle_tf2_cpp/src/turtle_tf2_listener.cpp b/turtle_tf2_cpp/src/turtle_tf2_listener.cpp index ecd3bfb..264b41b 100644 --- a/turtle_tf2_cpp/src/turtle_tf2_listener.cpp +++ b/turtle_tf2_cpp/src/turtle_tf2_listener.cpp @@ -21,8 +21,8 @@ #include "geometry_msgs/msg/twist.hpp" #include "rclcpp/rclcpp.hpp" #include "tf2/exceptions.hpp" -#include "tf2_ros/transform_listener.h" -#include "tf2_ros/buffer.h" +#include "tf2_ros/transform_listener.hpp" +#include "tf2_ros/buffer.hpp" #include "turtlesim_msgs/srv/spawn.hpp" using namespace std::chrono_literals; diff --git a/turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp b/turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp index c2d7085..fab2926 100644 --- a/turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp +++ b/turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp @@ -19,10 +19,10 @@ #include "geometry_msgs/msg/point_stamped.hpp" #include "message_filters/subscriber.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2_ros/buffer.h" -#include "tf2_ros/create_timer_ros.h" -#include "tf2_ros/message_filter.h" -#include "tf2_ros/transform_listener.h" +#include "tf2_ros/buffer.hpp" +#include "tf2_ros/create_timer_ros.hpp" +#include "tf2_ros/message_filter.hpp" +#include "tf2_ros/transform_listener.hpp" #ifdef TF2_CPP_HEADERS #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #else