From ae77e5152cda5bead01af342b0ac0ef7bcf178ec Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Mon, 2 Oct 2023 11:22:38 -0400 Subject: [PATCH] Style change (#229) Change quotes ("") for brackets (<>). Logic is unaffected --- ros/ros1/OdometryServer.cpp | 20 ++++++++++---------- ros/ros1/OdometryServer.hpp | 8 ++++---- ros/ros1/Utils.hpp | 5 +++-- ros/ros2/OdometryServer.cpp | 21 +++++++++++---------- ros/ros2/OdometryServer.hpp | 11 ++++++----- ros/ros2/Utils.hpp | 5 +++-- 6 files changed, 37 insertions(+), 33 deletions(-) diff --git a/ros/ros1/OdometryServer.cpp b/ros/ros1/OdometryServer.cpp index 4b634fc1..241f72b7 100644 --- a/ros/ros1/OdometryServer.cpp +++ b/ros/ros1/OdometryServer.cpp @@ -33,16 +33,16 @@ #include "kiss_icp/pipeline/KissICP.hpp" // ROS 1 headers -#include "geometry_msgs/PoseStamped.h" -#include "geometry_msgs/TransformStamped.h" -#include "nav_msgs/Odometry.h" -#include "nav_msgs/Path.h" -#include "ros/init.h" -#include "ros/node_handle.h" -#include "ros/ros.h" -#include "sensor_msgs/PointCloud2.h" -#include "tf2_ros/static_transform_broadcaster.h" -#include "tf2_ros/transform_broadcaster.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace kiss_icp_ros { diff --git a/ros/ros1/OdometryServer.hpp b/ros/ros1/OdometryServer.hpp index 07a40de3..bcd5ea83 100644 --- a/ros/ros1/OdometryServer.hpp +++ b/ros/ros1/OdometryServer.hpp @@ -26,10 +26,10 @@ #include "kiss_icp/pipeline/KissICP.hpp" // ROS -#include "nav_msgs/Path.h" -#include "ros/ros.h" -#include "sensor_msgs/PointCloud2.h" -#include "tf2_ros/transform_broadcaster.h" +#include +#include +#include +#include namespace kiss_icp_ros { diff --git a/ros/ros1/Utils.hpp b/ros/ros1/Utils.hpp index 137b5bc4..50944455 100644 --- a/ros/ros1/Utils.hpp +++ b/ros/ros1/Utils.hpp @@ -30,8 +30,9 @@ #include #include -#include "sensor_msgs/PointCloud2.h" -#include "sensor_msgs/point_cloud2_iterator.h" +// ROS 1 headers +#include +#include namespace kiss_icp_ros::utils { using PointCloud2 = sensor_msgs::PointCloud2; diff --git a/ros/ros2/OdometryServer.cpp b/ros/ros2/OdometryServer.cpp index 4907d948..25256bdf 100644 --- a/ros/ros2/OdometryServer.cpp +++ b/ros/ros2/OdometryServer.cpp @@ -33,16 +33,17 @@ #include "kiss_icp/pipeline/KissICP.hpp" // ROS 2 headers -#include "geometry_msgs/msg/pose_stamped.hpp" -#include "geometry_msgs/msg/transform_stamped.hpp" -#include "nav_msgs/msg/odometry.hpp" -#include "nav_msgs/msg/path.hpp" -#include "rclcpp/qos.hpp" -#include "rclcpp/rclcpp.hpp" -#include "sensor_msgs/msg/point_cloud2.hpp" -#include "std_msgs/msg/string.hpp" -#include "tf2_ros/static_transform_broadcaster.h" -#include "tf2_ros/transform_broadcaster.h" +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include namespace kiss_icp_ros { diff --git a/ros/ros2/OdometryServer.hpp b/ros/ros2/OdometryServer.hpp index b3f87a3f..919a2c2e 100644 --- a/ros/ros2/OdometryServer.hpp +++ b/ros/ros2/OdometryServer.hpp @@ -26,11 +26,12 @@ #include "kiss_icp/pipeline/KissICP.hpp" // ROS 2 -#include "nav_msgs/msg/odometry.hpp" -#include "nav_msgs/msg/path.hpp" -#include "rclcpp/rclcpp.hpp" -#include "sensor_msgs/msg/point_cloud2.hpp" -#include "tf2_ros/transform_broadcaster.h" +#include + +#include +#include +#include +#include namespace kiss_icp_ros { diff --git a/ros/ros2/Utils.hpp b/ros/ros2/Utils.hpp index f294a286..36dd685f 100644 --- a/ros/ros2/Utils.hpp +++ b/ros/ros2/Utils.hpp @@ -30,8 +30,9 @@ #include #include -#include "sensor_msgs/msg/point_cloud2.hpp" -#include "sensor_msgs/point_cloud2_iterator.hpp" +// ROS 2 +#include +#include namespace kiss_icp_ros::utils {