From 5e4ccd948ee78db170291e1b7d9a50b8df1a2478 Mon Sep 17 00:00:00 2001 From: Lucas Wendland <82680922+CursedRock17@users.noreply.github.com> Date: Wed, 18 Dec 2024 03:56:12 -0500 Subject: [PATCH] Deprecating tf2 C Headers (#109) Signed-off-by: CursedRock17 --- include/interactive_markers/exceptions.hpp | 2 +- include/interactive_markers/interactive_marker_client.hpp | 2 +- include/interactive_markers/message_context.hpp | 2 +- src/message_context.cpp | 4 ++-- src/tools.cpp | 6 +++--- test/interactive_markers/test_interactive_marker_client.cpp | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/interactive_markers/exceptions.hpp b/include/interactive_markers/exceptions.hpp index 220a02c7..265037aa 100644 --- a/include/interactive_markers/exceptions.hpp +++ b/include/interactive_markers/exceptions.hpp @@ -31,7 +31,7 @@ #include -#include "tf2/exceptions.h" +#include "tf2/exceptions.hpp" namespace interactive_markers { diff --git a/include/interactive_markers/interactive_marker_client.hpp b/include/interactive_markers/interactive_marker_client.hpp index 6072b3e4..df971548 100644 --- a/include/interactive_markers/interactive_marker_client.hpp +++ b/include/interactive_markers/interactive_marker_client.hpp @@ -42,7 +42,7 @@ #include "rclcpp/logger.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2/buffer_core_interface.h" +#include "tf2/buffer_core_interface.hpp" #include "visualization_msgs/msg/interactive_marker_feedback.hpp" #include "visualization_msgs/msg/interactive_marker_update.hpp" diff --git a/include/interactive_markers/message_context.hpp b/include/interactive_markers/message_context.hpp index 2ab1c209..830b6ff5 100644 --- a/include/interactive_markers/message_context.hpp +++ b/include/interactive_markers/message_context.hpp @@ -37,7 +37,7 @@ #include #include -#include "tf2/buffer_core_interface.h" +#include "tf2/buffer_core_interface.hpp" #include "geometry_msgs/msg/pose.hpp" #include "std_msgs/msg/header.hpp" diff --git a/src/message_context.cpp b/src/message_context.cpp index aa204758..0cdc5dc9 100644 --- a/src/message_context.cpp +++ b/src/message_context.cpp @@ -40,8 +40,8 @@ #include "geometry_msgs/msg/pose_stamped.hpp" #include "geometry_msgs/msg/transform_stamped.hpp" #include "rcutils/logging_macros.h" -#include "tf2/buffer_core_interface.h" -#include "tf2/time.h" +#include "tf2/buffer_core_interface.hpp" +#include "tf2/time.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "rclcpp/time.hpp" #include "std_msgs/msg/header.hpp" diff --git a/src/tools.cpp b/src/tools.cpp index 8d64f37b..7baad4eb 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -46,9 +46,9 @@ #include "visualization_msgs/msg/interactive_marker_control.hpp" #include "visualization_msgs/msg/marker.hpp" -#include "tf2/LinearMath/Quaternion.h" -#include "tf2/LinearMath/Matrix3x3.h" -#include "tf2/LinearMath/Vector3.h" +#include "tf2/LinearMath/Quaternion.hpp" +#include "tf2/LinearMath/Matrix3x3.hpp" +#include "tf2/LinearMath/Vector3.hpp" #include "interactive_markers/tools.hpp" diff --git a/test/interactive_markers/test_interactive_marker_client.cpp b/test/interactive_markers/test_interactive_marker_client.cpp index 6ba8aaf9..e6f8f4f6 100644 --- a/test/interactive_markers/test_interactive_marker_client.cpp +++ b/test/interactive_markers/test_interactive_marker_client.cpp @@ -38,7 +38,7 @@ #include "builtin_interfaces/msg/time.hpp" #include "geometry_msgs/msg/pose.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2/buffer_core.h" +#include "tf2/buffer_core.hpp" #include "visualization_msgs/msg/interactive_marker.hpp" #include "visualization_msgs/msg/interactive_marker_update.hpp" #include "visualization_msgs/srv/get_interactive_markers.hpp"