From 884bc9b3abd3e923d21d38c800da504f54439b9b Mon Sep 17 00:00:00 2001 From: CursedRock17 Date: Mon, 28 Oct 2024 23:54:42 -0400 Subject: [PATCH] Deprecating tf2 C Headers Signed-off-by: CursedRock17 --- nav2_amcl/src/amcl_node.cpp | 6 +++--- .../include/nav2_behavior_tree/ros_topic_logger.hpp | 2 +- .../action/remove_in_collision_goals_action.cpp | 2 +- .../plugins/action/truncate_path_local_action.cpp | 2 +- .../condition/transform_available_condition.cpp | 2 +- .../test/plugins/action/test_truncate_path_action.cpp | 4 ++-- .../include/nav2_behaviors/timed_behavior.hpp | 2 +- nav2_behaviors/plugins/spin.cpp | 2 +- .../nav2_collision_monitor/collision_detector_node.hpp | 2 +- .../nav2_collision_monitor/collision_monitor_node.hpp | 2 +- .../include/nav2_collision_monitor/polygon.hpp | 2 +- .../include/nav2_collision_monitor/source.hpp | 2 +- nav2_collision_monitor/src/pointcloud.cpp | 2 +- nav2_collision_monitor/src/polygon.cpp | 2 +- nav2_collision_monitor/src/polygon_source.cpp | 2 +- nav2_collision_monitor/src/range.cpp | 2 +- nav2_collision_monitor/src/scan.cpp | 2 +- nav2_constrained_smoother/src/constrained_smoother.cpp | 2 +- nav2_controller/plugins/simple_goal_checker.cpp | 2 +- .../include/nav2_costmap_2d/costmap_2d_publisher.hpp | 4 ++-- .../include/nav2_costmap_2d/costmap_2d_ros.hpp | 10 +++++----- .../plugins/costmap_filters/keepout_filter.cpp | 2 +- nav2_costmap_2d/plugins/static_layer.cpp | 2 +- nav2_costmap_2d/src/footprint_subscriber.cpp | 2 +- nav2_costmap_2d/src/observation_buffer.cpp | 2 +- .../test_costmap_topic_collision_checker.cpp | 2 +- .../include/opennav_docking/simple_charging_dock.hpp | 2 +- .../opennav_docking/simple_non_charging_dock.hpp | 2 +- .../opennav_docking/include/opennav_docking/utils.hpp | 2 +- nav2_docking/opennav_docking/src/docking_server.cpp | 2 +- nav2_docking/opennav_docking/test/test_pose_filter.cpp | 2 +- .../opennav_docking/test/test_simple_charging_dock.cpp | 2 +- .../test/test_simple_non_charging_dock.cpp | 2 +- .../nav_2d_utils/include/nav_2d_utils/conversions.hpp | 2 +- nav2_dwb_controller/nav_2d_utils/src/conversions.cpp | 2 +- .../nav_2d_utils/test/2d_utils_test.cpp | 2 +- .../nav2_graceful_controller/ego_polar_coords.hpp | 2 +- nav2_map_server/src/map_io.cpp | 4 ++-- .../include/nav2_mppi_controller/tools/utils.hpp | 2 +- .../include/nav2_smac_planner/smac_planner_2d.hpp | 2 +- .../include/nav2_smac_planner/smac_planner_hybrid.hpp | 2 +- .../include/nav2_smac_planner/smac_planner_lattice.hpp | 2 +- nav2_smac_planner/include/nav2_smac_planner/utils.hpp | 2 +- nav2_smac_planner/src/smoother.cpp | 2 +- .../include/nav2_smoother/savitzky_golay_smoother.hpp | 2 +- .../include/nav2_smoother/simple_smoother.hpp | 2 +- nav2_smoother/include/nav2_smoother/smoother_utils.hpp | 2 +- .../assisted_teleop_behavior_tester.hpp | 2 +- .../src/behaviors/wait/wait_behavior_tester.hpp | 2 +- nav2_util/include/nav2_util/robot_utils.hpp | 4 ++-- nav2_util/src/base_footprint_publisher.hpp | 2 +- nav2_util/src/costmap.cpp | 2 +- nav2_util/src/robot_utils.cpp | 2 +- nav2_util/test/test_base_footprint_publisher.cpp | 2 +- 54 files changed, 64 insertions(+), 64 deletions(-) diff --git a/nav2_amcl/src/amcl_node.cpp b/nav2_amcl/src/amcl_node.cpp index 5bf17738bdc..f3ef082ffb7 100644 --- a/nav2_amcl/src/amcl_node.cpp +++ b/nav2_amcl/src/amcl_node.cpp @@ -35,10 +35,10 @@ #include "nav2_util/string_utils.hpp" #include "nav2_amcl/sensors/laser/laser.hpp" #include "rclcpp/node_options.hpp" -#include "tf2/convert.h" -#include "tf2/utils.h" +#include "tf2/convert.hpp" +#include "tf2/utils.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/LinearMath/Transform.h" +#include "tf2/LinearMath/Transform.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/message_filter.h" #include "tf2_ros/transform_broadcaster.h" diff --git a/nav2_behavior_tree/include/nav2_behavior_tree/ros_topic_logger.hpp b/nav2_behavior_tree/include/nav2_behavior_tree/ros_topic_logger.hpp index 8a75712b56b..a65334e5b61 100644 --- a/nav2_behavior_tree/include/nav2_behavior_tree/ros_topic_logger.hpp +++ b/nav2_behavior_tree/include/nav2_behavior_tree/ros_topic_logger.hpp @@ -23,7 +23,7 @@ #include "rclcpp/rclcpp.hpp" #include "nav2_msgs/msg/behavior_tree_log.hpp" #include "nav2_msgs/msg/behavior_tree_status_change.h" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer_interface.h" namespace nav2_behavior_tree diff --git a/nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp b/nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp index d6f9ee662d0..5b6b4d8dd10 100644 --- a/nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp +++ b/nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.cpp @@ -18,7 +18,7 @@ #include "nav2_behavior_tree/plugins/action/remove_in_collision_goals_action.hpp" #include "nav2_behavior_tree/bt_utils.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" namespace nav2_behavior_tree diff --git a/nav2_behavior_tree/plugins/action/truncate_path_local_action.cpp b/nav2_behavior_tree/plugins/action/truncate_path_local_action.cpp index f002710be6b..271e64added 100644 --- a/nav2_behavior_tree/plugins/action/truncate_path_local_action.cpp +++ b/nav2_behavior_tree/plugins/action/truncate_path_local_action.cpp @@ -24,7 +24,7 @@ #include "nav2_util/robot_utils.hpp" #include "nav_msgs/msg/path.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2/LinearMath/Quaternion.h" +#include "tf2/LinearMath/Quaternion.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/create_timer_ros.h" diff --git a/nav2_behavior_tree/plugins/condition/transform_available_condition.cpp b/nav2_behavior_tree/plugins/condition/transform_available_condition.cpp index 1afe0e14331..2c777aabd7e 100644 --- a/nav2_behavior_tree/plugins/condition/transform_available_condition.cpp +++ b/nav2_behavior_tree/plugins/condition/transform_available_condition.cpp @@ -17,7 +17,7 @@ #include #include "rclcpp/rclcpp.hpp" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer.h" #include "nav2_behavior_tree/plugins/condition/transform_available_condition.hpp" diff --git a/nav2_behavior_tree/test/plugins/action/test_truncate_path_action.cpp b/nav2_behavior_tree/test/plugins/action/test_truncate_path_action.cpp index de0ae1282d4..56b1b4b0567 100644 --- a/nav2_behavior_tree/test/plugins/action/test_truncate_path_action.cpp +++ b/nav2_behavior_tree/test/plugins/action/test_truncate_path_action.cpp @@ -23,8 +23,8 @@ #include "nav_msgs/msg/path.hpp" #include "nav2_util/geometry_utils.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2/LinearMath/Matrix3x3.h" -#include "tf2/LinearMath/Quaternion.h" +#include "tf2/LinearMath/Matrix3x3.hpp" +#include "tf2/LinearMath/Quaternion.hpp" #include "behaviortree_cpp/bt_factory.h" diff --git a/nav2_behaviors/include/nav2_behaviors/timed_behavior.hpp b/nav2_behaviors/include/nav2_behaviors/timed_behavior.hpp index 2e560fb7218..53106d376f3 100644 --- a/nav2_behaviors/include/nav2_behaviors/timed_behavior.hpp +++ b/nav2_behaviors/include/nav2_behaviors/timed_behavior.hpp @@ -35,7 +35,7 @@ #include "nav2_core/behavior.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop diff --git a/nav2_behaviors/plugins/spin.cpp b/nav2_behaviors/plugins/spin.cpp index 5965675f643..85494bfcf8c 100644 --- a/nav2_behaviors/plugins/spin.cpp +++ b/nav2_behaviors/plugins/spin.cpp @@ -19,7 +19,7 @@ #include #include "nav2_behaviors/plugins/spin.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "nav2_util/node_utils.hpp" diff --git a/nav2_collision_monitor/include/nav2_collision_monitor/collision_detector_node.hpp b/nav2_collision_monitor/include/nav2_collision_monitor/collision_detector_node.hpp index 7c9785588e2..a3a429b2daa 100644 --- a/nav2_collision_monitor/include/nav2_collision_monitor/collision_detector_node.hpp +++ b/nav2_collision_monitor/include/nav2_collision_monitor/collision_detector_node.hpp @@ -22,7 +22,7 @@ #include "rclcpp/rclcpp.hpp" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/transform_listener.h" diff --git a/nav2_collision_monitor/include/nav2_collision_monitor/collision_monitor_node.hpp b/nav2_collision_monitor/include/nav2_collision_monitor/collision_monitor_node.hpp index c6caeeb5b2d..69274b06fdb 100644 --- a/nav2_collision_monitor/include/nav2_collision_monitor/collision_monitor_node.hpp +++ b/nav2_collision_monitor/include/nav2_collision_monitor/collision_monitor_node.hpp @@ -25,7 +25,7 @@ #include "visualization_msgs/msg/marker_array.hpp" #include "geometry_msgs/msg/twist_stamped.hpp" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/transform_listener.h" diff --git a/nav2_collision_monitor/include/nav2_collision_monitor/polygon.hpp b/nav2_collision_monitor/include/nav2_collision_monitor/polygon.hpp index 6bb3b5dd011..f5123843938 100644 --- a/nav2_collision_monitor/include/nav2_collision_monitor/polygon.hpp +++ b/nav2_collision_monitor/include/nav2_collision_monitor/polygon.hpp @@ -23,7 +23,7 @@ #include "rclcpp/rclcpp.hpp" #include "geometry_msgs/msg/polygon_stamped.hpp" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer.h" #include "nav2_util/lifecycle_node.hpp" diff --git a/nav2_collision_monitor/include/nav2_collision_monitor/source.hpp b/nav2_collision_monitor/include/nav2_collision_monitor/source.hpp index 4432ec243b1..3384bf8d333 100644 --- a/nav2_collision_monitor/include/nav2_collision_monitor/source.hpp +++ b/nav2_collision_monitor/include/nav2_collision_monitor/source.hpp @@ -21,7 +21,7 @@ #include "rclcpp/rclcpp.hpp" -#include "tf2/time.h" +#include "tf2/time.hpp" #include "tf2_ros/buffer.h" #include "nav2_collision_monitor/types.hpp" diff --git a/nav2_collision_monitor/src/pointcloud.cpp b/nav2_collision_monitor/src/pointcloud.cpp index 77daab68055..c54c0524ea0 100644 --- a/nav2_collision_monitor/src/pointcloud.cpp +++ b/nav2_collision_monitor/src/pointcloud.cpp @@ -17,7 +17,7 @@ #include #include "sensor_msgs/point_cloud2_iterator.hpp" -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/node_utils.hpp" #include "nav2_util/robot_utils.hpp" diff --git a/nav2_collision_monitor/src/polygon.cpp b/nav2_collision_monitor/src/polygon.cpp index 19ac5053de8..a528c74d640 100644 --- a/nav2_collision_monitor/src/polygon.cpp +++ b/nav2_collision_monitor/src/polygon.cpp @@ -19,7 +19,7 @@ #include "geometry_msgs/msg/point.hpp" #include "geometry_msgs/msg/point32.hpp" -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/node_utils.hpp" #include "nav2_util/robot_utils.hpp" diff --git a/nav2_collision_monitor/src/polygon_source.cpp b/nav2_collision_monitor/src/polygon_source.cpp index 149ac43153f..a147529670f 100644 --- a/nav2_collision_monitor/src/polygon_source.cpp +++ b/nav2_collision_monitor/src/polygon_source.cpp @@ -18,7 +18,7 @@ #include #include "geometry_msgs/msg/polygon_stamped.hpp" -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/node_utils.hpp" #include "nav2_util/robot_utils.hpp" diff --git a/nav2_collision_monitor/src/range.cpp b/nav2_collision_monitor/src/range.cpp index fe555b171f3..d871c795082 100644 --- a/nav2_collision_monitor/src/range.cpp +++ b/nav2_collision_monitor/src/range.cpp @@ -18,7 +18,7 @@ #include #include -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/node_utils.hpp" #include "nav2_util/robot_utils.hpp" diff --git a/nav2_collision_monitor/src/scan.cpp b/nav2_collision_monitor/src/scan.cpp index f891df69a0a..0bdcefcd66b 100644 --- a/nav2_collision_monitor/src/scan.cpp +++ b/nav2_collision_monitor/src/scan.cpp @@ -17,7 +17,7 @@ #include #include -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/robot_utils.hpp" diff --git a/nav2_constrained_smoother/src/constrained_smoother.cpp b/nav2_constrained_smoother/src/constrained_smoother.cpp index 6ff2f504a25..6b5bef4a303 100644 --- a/nav2_constrained_smoother/src/constrained_smoother.cpp +++ b/nav2_constrained_smoother/src/constrained_smoother.cpp @@ -30,7 +30,7 @@ #include "pluginlib/class_loader.hpp" #include "pluginlib/class_list_macros.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" using nav2_util::declare_parameter_if_not_declared; using nav2_util::geometry_utils::euclidean_distance; diff --git a/nav2_controller/plugins/simple_goal_checker.cpp b/nav2_controller/plugins/simple_goal_checker.cpp index 597f843eaac..30b90f4f4ab 100644 --- a/nav2_controller/plugins/simple_goal_checker.cpp +++ b/nav2_controller/plugins/simple_goal_checker.cpp @@ -43,7 +43,7 @@ #include "nav2_util/geometry_utils.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop using rcl_interfaces::msg::ParameterType; diff --git a/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_publisher.hpp b/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_publisher.hpp index 97a9c0a4ff8..41041c44b6e 100644 --- a/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_publisher.hpp +++ b/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_publisher.hpp @@ -50,9 +50,9 @@ #include "nav2_msgs/msg/costmap.hpp" #include "nav2_msgs/msg/costmap_update.hpp" #include "nav2_msgs/srv/get_costmap.hpp" -#include "tf2/transform_datatypes.h" +#include "tf2/transform_datatypes.hpp" #include "nav2_util/lifecycle_node.hpp" -#include "tf2/LinearMath/Quaternion.h" +#include "tf2/LinearMath/Quaternion.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" namespace nav2_costmap_2d diff --git a/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_ros.hpp b/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_ros.hpp index 33feaa700df..1da12d22d8b 100644 --- a/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_ros.hpp +++ b/nav2_costmap_2d/include/nav2_costmap_2d/costmap_2d_ros.hpp @@ -54,16 +54,16 @@ #include "nav2_util/lifecycle_node.hpp" #include "nav2_msgs/srv/get_costs.hpp" #include "pluginlib/class_loader.hpp" -#include "tf2/convert.h" -#include "tf2/LinearMath/Transform.h" +#include "tf2/convert.hpp" +#include "tf2/LinearMath/Transform.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/transform_listener.h" -#include "tf2/time.h" -#include "tf2/transform_datatypes.h" +#include "tf2/time.hpp" +#include "tf2/transform_datatypes.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop namespace nav2_costmap_2d diff --git a/nav2_costmap_2d/plugins/costmap_filters/keepout_filter.cpp b/nav2_costmap_2d/plugins/costmap_filters/keepout_filter.cpp index 3ac785296a2..74277fb58d3 100644 --- a/nav2_costmap_2d/plugins/costmap_filters/keepout_filter.cpp +++ b/nav2_costmap_2d/plugins/costmap_filters/keepout_filter.cpp @@ -38,7 +38,7 @@ #include #include #include -#include "tf2/convert.h" +#include "tf2/convert.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "nav2_costmap_2d/costmap_filters/keepout_filter.hpp" diff --git a/nav2_costmap_2d/plugins/static_layer.cpp b/nav2_costmap_2d/plugins/static_layer.cpp index 67b7fbd5ec9..344235ca376 100644 --- a/nav2_costmap_2d/plugins/static_layer.cpp +++ b/nav2_costmap_2d/plugins/static_layer.cpp @@ -43,7 +43,7 @@ #include #include "pluginlib/class_list_macros.hpp" -#include "tf2/convert.h" +#include "tf2/convert.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "nav2_util/validate_messages.hpp" diff --git a/nav2_costmap_2d/src/footprint_subscriber.cpp b/nav2_costmap_2d/src/footprint_subscriber.cpp index 2c269fa3b06..7cd65781e27 100644 --- a/nav2_costmap_2d/src/footprint_subscriber.cpp +++ b/nav2_costmap_2d/src/footprint_subscriber.cpp @@ -19,7 +19,7 @@ #include "nav2_costmap_2d/footprint_subscriber.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop namespace nav2_costmap_2d diff --git a/nav2_costmap_2d/src/observation_buffer.cpp b/nav2_costmap_2d/src/observation_buffer.cpp index 8a06823df38..a3df54e080d 100644 --- a/nav2_costmap_2d/src/observation_buffer.cpp +++ b/nav2_costmap_2d/src/observation_buffer.cpp @@ -42,7 +42,7 @@ #include #include -#include "tf2/convert.h" +#include "tf2/convert.hpp" #include "sensor_msgs/point_cloud2_iterator.hpp" using namespace std::chrono_literals; diff --git a/nav2_costmap_2d/test/integration/test_costmap_topic_collision_checker.cpp b/nav2_costmap_2d/test/integration/test_costmap_topic_collision_checker.cpp index ec6748f980e..a069bf1f1b8 100644 --- a/nav2_costmap_2d/test/integration/test_costmap_topic_collision_checker.cpp +++ b/nav2_costmap_2d/test/integration/test_costmap_topic_collision_checker.cpp @@ -35,7 +35,7 @@ #include "tf2_ros/transform_broadcaster.h" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop #include "nav2_util/geometry_utils.hpp" diff --git a/nav2_docking/opennav_docking/include/opennav_docking/simple_charging_dock.hpp b/nav2_docking/opennav_docking/include/opennav_docking/simple_charging_dock.hpp index 49adf4124c9..4fcea206eb1 100644 --- a/nav2_docking/opennav_docking/include/opennav_docking/simple_charging_dock.hpp +++ b/nav2_docking/opennav_docking/include/opennav_docking/simple_charging_dock.hpp @@ -23,7 +23,7 @@ #include "sensor_msgs/msg/battery_state.hpp" #include "sensor_msgs/msg/joint_state.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "opennav_docking_core/charging_dock.hpp" #include "opennav_docking/pose_filter.hpp" diff --git a/nav2_docking/opennav_docking/include/opennav_docking/simple_non_charging_dock.hpp b/nav2_docking/opennav_docking/include/opennav_docking/simple_non_charging_dock.hpp index 0f258289448..c26f6b68199 100644 --- a/nav2_docking/opennav_docking/include/opennav_docking/simple_non_charging_dock.hpp +++ b/nav2_docking/opennav_docking/include/opennav_docking/simple_non_charging_dock.hpp @@ -23,7 +23,7 @@ #include "sensor_msgs/msg/battery_state.hpp" #include "sensor_msgs/msg/joint_state.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "opennav_docking_core/non_charging_dock.hpp" #include "opennav_docking/pose_filter.hpp" diff --git a/nav2_docking/opennav_docking/include/opennav_docking/utils.hpp b/nav2_docking/opennav_docking/include/opennav_docking/utils.hpp index ce0b5660036..1acd623f3ee 100644 --- a/nav2_docking/opennav_docking/include/opennav_docking/utils.hpp +++ b/nav2_docking/opennav_docking/include/opennav_docking/utils.hpp @@ -24,7 +24,7 @@ #include "nav2_util/geometry_utils.hpp" #include "angles/angles.h" #include "opennav_docking/types.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace utils { diff --git a/nav2_docking/opennav_docking/src/docking_server.cpp b/nav2_docking/opennav_docking/src/docking_server.cpp index b350cb40262..811820aa3d9 100644 --- a/nav2_docking/opennav_docking/src/docking_server.cpp +++ b/nav2_docking/opennav_docking/src/docking_server.cpp @@ -15,7 +15,7 @@ #include "angles/angles.h" #include "opennav_docking/docking_server.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" using namespace std::chrono_literals; using rcl_interfaces::msg::ParameterType; diff --git a/nav2_docking/opennav_docking/test/test_pose_filter.cpp b/nav2_docking/opennav_docking/test/test_pose_filter.cpp index 2997a21c5aa..ade583c8f9c 100644 --- a/nav2_docking/opennav_docking/test/test_pose_filter.cpp +++ b/nav2_docking/opennav_docking/test/test_pose_filter.cpp @@ -18,7 +18,7 @@ #include "rclcpp/rclcpp.hpp" #include "opennav_docking/pose_filter.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" // Testing the pose filter diff --git a/nav2_docking/opennav_docking/test/test_simple_charging_dock.cpp b/nav2_docking/opennav_docking/test/test_simple_charging_dock.cpp index 7193bb188b0..44ac7442cf7 100644 --- a/nav2_docking/opennav_docking/test/test_simple_charging_dock.cpp +++ b/nav2_docking/opennav_docking/test/test_simple_charging_dock.cpp @@ -20,7 +20,7 @@ #include "opennav_docking/simple_charging_dock.hpp" #include "ament_index_cpp/get_package_share_directory.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" // Testing the simple charging dock plugin diff --git a/nav2_docking/opennav_docking/test/test_simple_non_charging_dock.cpp b/nav2_docking/opennav_docking/test/test_simple_non_charging_dock.cpp index 89c423f5ff3..9705082af1d 100644 --- a/nav2_docking/opennav_docking/test/test_simple_non_charging_dock.cpp +++ b/nav2_docking/opennav_docking/test/test_simple_non_charging_dock.cpp @@ -20,7 +20,7 @@ #include "opennav_docking/simple_non_charging_dock.hpp" #include "ament_index_cpp/get_package_share_directory.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" // Testing the simple non-charging dock plugin diff --git a/nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/conversions.hpp b/nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/conversions.hpp index 910361615ef..901e9f0a1e5 100644 --- a/nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/conversions.hpp +++ b/nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/conversions.hpp @@ -44,7 +44,7 @@ #include "nav_2d_msgs/msg/pose2_d_stamped.hpp" #include "nav_msgs/msg/path.hpp" #include "rclcpp/rclcpp.hpp" -#include "tf2/convert.h" +#include "tf2/convert.hpp" namespace nav_2d_utils { diff --git a/nav2_dwb_controller/nav_2d_utils/src/conversions.cpp b/nav2_dwb_controller/nav_2d_utils/src/conversions.cpp index 42fdff6bb3f..5abed18bdcb 100644 --- a/nav2_dwb_controller/nav_2d_utils/src/conversions.cpp +++ b/nav2_dwb_controller/nav_2d_utils/src/conversions.cpp @@ -48,7 +48,7 @@ #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #pragma GCC diagnostic pop #include "nav2_util/geometry_utils.hpp" diff --git a/nav2_dwb_controller/nav_2d_utils/test/2d_utils_test.cpp b/nav2_dwb_controller/nav_2d_utils/test/2d_utils_test.cpp index 8f2bd171b2d..40a54be094b 100644 --- a/nav2_dwb_controller/nav_2d_utils/test/2d_utils_test.cpp +++ b/nav2_dwb_controller/nav_2d_utils/test/2d_utils_test.cpp @@ -33,7 +33,7 @@ */ #include -#include +#include #include #include "gtest/gtest.h" diff --git a/nav2_graceful_controller/include/nav2_graceful_controller/ego_polar_coords.hpp b/nav2_graceful_controller/include/nav2_graceful_controller/ego_polar_coords.hpp index f0f1229a103..00b44d01617 100644 --- a/nav2_graceful_controller/include/nav2_graceful_controller/ego_polar_coords.hpp +++ b/nav2_graceful_controller/include/nav2_graceful_controller/ego_polar_coords.hpp @@ -19,7 +19,7 @@ #include "angles/angles.h" #include "geometry_msgs/msg/pose.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_graceful_controller { diff --git a/nav2_map_server/src/map_io.cpp b/nav2_map_server/src/map_io.cpp index 6fb82c1af2a..978bc31a1a1 100644 --- a/nav2_map_server/src/map_io.cpp +++ b/nav2_map_server/src/map_io.cpp @@ -46,8 +46,8 @@ #include "yaml-cpp/yaml.h" -#include "tf2/LinearMath/Matrix3x3.h" -#include "tf2/LinearMath/Quaternion.h" +#include "tf2/LinearMath/Matrix3x3.hpp" +#include "tf2/LinearMath/Quaternion.hpp" #include "nav2_util/occ_grid_values.hpp" #ifdef _WIN32 diff --git a/nav2_mppi_controller/include/nav2_mppi_controller/tools/utils.hpp b/nav2_mppi_controller/include/nav2_mppi_controller/tools/utils.hpp index 4ad0dbfbd78..8d26e9edc7c 100644 --- a/nav2_mppi_controller/include/nav2_mppi_controller/tools/utils.hpp +++ b/nav2_mppi_controller/include/nav2_mppi_controller/tools/utils.hpp @@ -36,7 +36,7 @@ #include "angles/angles.h" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "geometry_msgs/msg/twist_stamped.hpp" diff --git a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_2d.hpp b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_2d.hpp index 059871d8677..b386f8d6edb 100644 --- a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_2d.hpp +++ b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_2d.hpp @@ -32,7 +32,7 @@ #include "geometry_msgs/msg/pose_stamped.hpp" #include "nav2_util/lifecycle_node.hpp" #include "nav2_util/node_utils.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "rcl_interfaces/msg/set_parameters_result.hpp" namespace nav2_smac_planner diff --git a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_hybrid.hpp b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_hybrid.hpp index f1653569440..7c81b6737b7 100644 --- a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_hybrid.hpp +++ b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_hybrid.hpp @@ -32,7 +32,7 @@ #include "geometry_msgs/msg/pose_array.hpp" #include "nav2_util/lifecycle_node.hpp" #include "nav2_util/node_utils.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_smac_planner { diff --git a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_lattice.hpp b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_lattice.hpp index 57e225f2876..01f80e974b3 100644 --- a/nav2_smac_planner/include/nav2_smac_planner/smac_planner_lattice.hpp +++ b/nav2_smac_planner/include/nav2_smac_planner/smac_planner_lattice.hpp @@ -31,7 +31,7 @@ #include "geometry_msgs/msg/pose_stamped.hpp" #include "nav2_util/lifecycle_node.hpp" #include "nav2_util/node_utils.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_smac_planner { diff --git a/nav2_smac_planner/include/nav2_smac_planner/utils.hpp b/nav2_smac_planner/include/nav2_smac_planner/utils.hpp index 89cb2f8dc77..c2edd13b6e2 100644 --- a/nav2_smac_planner/include/nav2_smac_planner/utils.hpp +++ b/nav2_smac_planner/include/nav2_smac_planner/utils.hpp @@ -23,7 +23,7 @@ #include "nlohmann/json.hpp" #include "geometry_msgs/msg/quaternion.hpp" #include "geometry_msgs/msg/pose.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "nav2_costmap_2d/costmap_2d_ros.hpp" #include "nav2_costmap_2d/inflation_layer.hpp" #include "visualization_msgs/msg/marker_array.hpp" diff --git a/nav2_smac_planner/src/smoother.cpp b/nav2_smac_planner/src/smoother.cpp index 66e0d58446c..acff9c7e894 100644 --- a/nav2_smac_planner/src/smoother.cpp +++ b/nav2_smac_planner/src/smoother.cpp @@ -21,7 +21,7 @@ #include "angles/angles.h" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "nav2_smac_planner/smoother.hpp" diff --git a/nav2_smoother/include/nav2_smoother/savitzky_golay_smoother.hpp b/nav2_smoother/include/nav2_smoother/savitzky_golay_smoother.hpp index 090aa07af85..170d31d7cb7 100644 --- a/nav2_smoother/include/nav2_smoother/savitzky_golay_smoother.hpp +++ b/nav2_smoother/include/nav2_smoother/savitzky_golay_smoother.hpp @@ -31,7 +31,7 @@ #include "nav2_util/node_utils.hpp" #include "nav_msgs/msg/path.hpp" #include "angles/angles.h" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_smoother { diff --git a/nav2_smoother/include/nav2_smoother/simple_smoother.hpp b/nav2_smoother/include/nav2_smoother/simple_smoother.hpp index 2e8fea4a945..eacae4994d8 100644 --- a/nav2_smoother/include/nav2_smoother/simple_smoother.hpp +++ b/nav2_smoother/include/nav2_smoother/simple_smoother.hpp @@ -31,7 +31,7 @@ #include "nav2_util/node_utils.hpp" #include "nav_msgs/msg/path.hpp" #include "angles/angles.h" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_smoother { diff --git a/nav2_smoother/include/nav2_smoother/smoother_utils.hpp b/nav2_smoother/include/nav2_smoother/smoother_utils.hpp index 67d7296353f..4d4d5a8b948 100644 --- a/nav2_smoother/include/nav2_smoother/smoother_utils.hpp +++ b/nav2_smoother/include/nav2_smoother/smoother_utils.hpp @@ -30,7 +30,7 @@ #include "nav2_util/node_utils.hpp" #include "nav_msgs/msg/path.hpp" #include "angles/angles.h" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace smoother_utils { diff --git a/nav2_system_tests/src/behaviors/assisted_teleop/assisted_teleop_behavior_tester.hpp b/nav2_system_tests/src/behaviors/assisted_teleop/assisted_teleop_behavior_tester.hpp index 37bdd790c2c..73d29fe2d0c 100644 --- a/nav2_system_tests/src/behaviors/assisted_teleop/assisted_teleop_behavior_tester.hpp +++ b/nav2_system_tests/src/behaviors/assisted_teleop/assisted_teleop_behavior_tester.hpp @@ -34,7 +34,7 @@ #include "rclcpp/rclcpp.hpp" #include "std_msgs/msg/empty.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/transform_listener.h" diff --git a/nav2_system_tests/src/behaviors/wait/wait_behavior_tester.hpp b/nav2_system_tests/src/behaviors/wait/wait_behavior_tester.hpp index 18e131de88b..cef62bdaf56 100644 --- a/nav2_system_tests/src/behaviors/wait/wait_behavior_tester.hpp +++ b/nav2_system_tests/src/behaviors/wait/wait_behavior_tester.hpp @@ -31,7 +31,7 @@ #include "geometry_msgs/msg/pose_stamped.hpp" #include "geometry_msgs/msg/pose_with_covariance_stamped.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" #include "tf2_ros/buffer.h" #include "tf2_ros/transform_listener.h" diff --git a/nav2_util/include/nav2_util/robot_utils.hpp b/nav2_util/include/nav2_util/robot_utils.hpp index cb7d2b9fdfb..e76a2cce708 100644 --- a/nav2_util/include/nav2_util/robot_utils.hpp +++ b/nav2_util/include/nav2_util/robot_utils.hpp @@ -24,8 +24,8 @@ #include "geometry_msgs/msg/twist.hpp" #include "geometry_msgs/msg/twist_stamped.hpp" #include "geometry_msgs/msg/transform_stamped.hpp" -#include "tf2/time.h" -#include "tf2/transform_datatypes.h" +#include "tf2/time.hpp" +#include "tf2/transform_datatypes.hpp" #include "tf2_ros/buffer.h" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" #include "rclcpp/rclcpp.hpp" diff --git a/nav2_util/src/base_footprint_publisher.hpp b/nav2_util/src/base_footprint_publisher.hpp index 25d58d504bf..67f50625101 100644 --- a/nav2_util/src/base_footprint_publisher.hpp +++ b/nav2_util/src/base_footprint_publisher.hpp @@ -26,7 +26,7 @@ #include "tf2_ros/transform_broadcaster.h" #include "tf2_ros/buffer.h" #include "tf2_geometry_msgs/tf2_geometry_msgs.hpp" -#include "tf2/utils.h" +#include "tf2/utils.hpp" namespace nav2_util { diff --git a/nav2_util/src/costmap.cpp b/nav2_util/src/costmap.cpp index 91f3b2fbc82..5ab609634b8 100644 --- a/nav2_util/src/costmap.cpp +++ b/nav2_util/src/costmap.cpp @@ -15,7 +15,7 @@ #include #include #include "nav2_util/costmap.hpp" -#include "tf2/LinearMath/Quaternion.h" +#include "tf2/LinearMath/Quaternion.hpp" #include "nav2_util/geometry_utils.hpp" using std::vector; diff --git a/nav2_util/src/robot_utils.cpp b/nav2_util/src/robot_utils.cpp index a9f4d137fa2..736709ce641 100644 --- a/nav2_util/src/robot_utils.cpp +++ b/nav2_util/src/robot_utils.cpp @@ -18,7 +18,7 @@ #include #include -#include "tf2/convert.h" +#include "tf2/convert.hpp" #include "nav2_util/robot_utils.hpp" #include "rclcpp/logger.hpp" diff --git a/nav2_util/test/test_base_footprint_publisher.cpp b/nav2_util/test/test_base_footprint_publisher.cpp index cd788831325..c85a4c931b7 100644 --- a/nav2_util/test/test_base_footprint_publisher.cpp +++ b/nav2_util/test/test_base_footprint_publisher.cpp @@ -17,7 +17,7 @@ #include "base_footprint_publisher.hpp" #include "gtest/gtest.h" -#include "tf2/exceptions.h" +#include "tf2/exceptions.hpp" class RclCppFixture {