Rename headers from .h to .hpp (#296)
* Rename headers from .h to .hpp per ROS2 guidelines
This change is the result of the following command run from pcl_ros dir:
$ find -name *.h | xargs -I {} mv {} {}pp
Signed-off-by: Sean Kelly <sean@seankelly.dev>
* Update internal includes for the renamed headers
This change was the result of the following bash script:
$ find -name *.h -o -name *.cpp -o -name *.hpp | xargs -I {} sed -i 's/\(pcl_ros\/.*\)\(h\)\([">]\)$/\1\2pp\3/g' {}
Signed-off-by: Sean Kelly <sean@seankelly.dev>
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@
|
||||
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET true
|
||||
|
||||
#include <pcl/features/boundary.h>
|
||||
#include "pcl_ros/features/feature.h"
|
||||
#include "pcl_ros/features/feature.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -42,12 +42,12 @@
|
||||
#include <pcl/features/feature.h>
|
||||
#include <pcl_msgs/PointIndices.h>
|
||||
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
#include <message_filters/pass_through.h>
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/FeatureConfig.h"
|
||||
#include "pcl_ros/FeatureConfig.hpp"
|
||||
|
||||
// PCL conversions
|
||||
#include <pcl_conversions/pcl_conversions.h>
|
||||
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_FPFH_H_
|
||||
|
||||
#include <pcl/features/fpfh.h>
|
||||
#include "pcl_ros/features/pfh.h"
|
||||
#include "pcl_ros/features/pfh.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_FPFH_OMP_H_
|
||||
|
||||
#include <pcl/features/fpfh_omp.h>
|
||||
#include "pcl_ros/features/fpfh.h"
|
||||
#include "pcl_ros/features/fpfh.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_MOMENT_INVARIANTS_H_
|
||||
|
||||
#include <pcl/features/moment_invariants.h>
|
||||
#include "pcl_ros/features/feature.h"
|
||||
#include "pcl_ros/features/feature.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_NORMAL_3D_H_
|
||||
|
||||
#include <pcl/features/normal_3d.h>
|
||||
#include "pcl_ros/features/feature.h"
|
||||
#include "pcl_ros/features/feature.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_NORMAL_3D_OMP_H_
|
||||
|
||||
#include <pcl/features/normal_3d_omp.h>
|
||||
#include "pcl_ros/features/normal_3d.h"
|
||||
#include "pcl_ros/features/normal_3d.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -38,11 +38,11 @@
|
||||
#ifndef PCL_ROS_NORMAL_3D_TBB_H_
|
||||
#define PCL_ROS_NORMAL_3D_TBB_H_
|
||||
|
||||
//#include "pcl_ros/pcl_ros_config.h"
|
||||
//#include "pcl_ros/pcl_ros_config.hpp"
|
||||
//#if defined(HAVE_TBB)
|
||||
|
||||
#include <pcl/features/normal_3d_tbb.h>
|
||||
#include "pcl_ros/features/normal_3d.h"
|
||||
#include "pcl_ros/features/normal_3d.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_PFH_H_
|
||||
|
||||
#include <pcl/features/pfh.h>
|
||||
#include "pcl_ros/features/feature.h"
|
||||
#include "pcl_ros/features/feature.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
|
||||
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET true
|
||||
#include <pcl/features/principal_curvatures.h>
|
||||
#include "pcl_ros/features/feature.h"
|
||||
#include "pcl_ros/features/feature.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
@@ -38,7 +38,7 @@
|
||||
#define PCL_ROS_SHOT_H_
|
||||
|
||||
#include <pcl/features/shot.h>
|
||||
#include "pcl_ros/features/pfh.h"
|
||||
#include "pcl_ros/features/pfh.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
#define PCL_ROS_SHOT_OMP_H_
|
||||
|
||||
#include <pcl/features/shot_omp.h>
|
||||
#include "pcl_ros/features/shot.h"
|
||||
#include "pcl_ros/features/shot.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_FEATURES_VFH_H_
|
||||
|
||||
#include <pcl/features/vfh.h>
|
||||
#include "pcl_ros/features/fpfh.h"
|
||||
#include "pcl_ros/features/fpfh.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -41,10 +41,10 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/crop_box.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include "pcl_ros/CropBoxConfig.h"
|
||||
#include "pcl_ros/CropBoxConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -41,8 +41,8 @@
|
||||
// PCL includes
|
||||
#include <pcl/filters/extract_indices.h>
|
||||
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/ExtractIndicesConfig.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
#include "pcl_ros/ExtractIndicesConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -40,11 +40,11 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/filter.h>
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/FilterConfig.h"
|
||||
#include "pcl_ros/FilterConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/passthrough.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/project_inliers.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
#include <message_filters/subscriber.h>
|
||||
|
||||
+2
-2
@@ -40,10 +40,10 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/radius_outlier_removal.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include "pcl_ros/RadiusOutlierRemovalConfig.h"
|
||||
#include "pcl_ros/RadiusOutlierRemovalConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -40,10 +40,10 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/statistical_outlier_removal.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include "pcl_ros/StatisticalOutlierRemovalConfig.h"
|
||||
#include "pcl_ros/StatisticalOutlierRemovalConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -40,10 +40,10 @@
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/filters/voxel_grid.h>
|
||||
#include "pcl_ros/filters/filter.h"
|
||||
#include "pcl_ros/filters/filter.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include "pcl_ros/VoxelGridConfig.h"
|
||||
#include "pcl_ros/VoxelGridConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
@@ -38,7 +38,7 @@
|
||||
#define pcl_ros_IMPL_TRANSFORMS_H_
|
||||
|
||||
#include <pcl_conversions/pcl_conversions.h>
|
||||
#include "pcl_ros/transforms.h"
|
||||
#include "pcl_ros/transforms.hpp"
|
||||
|
||||
using pcl_conversions::fromPCL;
|
||||
using pcl_conversions::toPCL;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#ifndef PCL_ROS_IO_BAG_IO_H_
|
||||
#define PCL_ROS_IO_BAG_IO_H_
|
||||
|
||||
#include <pcl_ros/pcl_nodelet.h>
|
||||
#include <pcl_ros/pcl_nodelet.hpp>
|
||||
#include <sensor_msgs/PointCloud2.h>
|
||||
#include <rosbag/bag.h>
|
||||
#include <rosbag/view.h>
|
||||
@@ -39,7 +39,7 @@
|
||||
#define PCL_ROS_IO_PCD_IO_H_
|
||||
|
||||
#include <pcl/io/pcd_io.h>
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <pcl/pcl_base.h>
|
||||
#include <pcl/point_types.h>
|
||||
#include <pcl_conversions/pcl_conversions.h>
|
||||
#include "pcl_ros/point_cloud.h"
|
||||
#include "pcl_ros/point_cloud.hpp"
|
||||
// ROS Nodelet includes
|
||||
#include <nodelet_topic_tools/nodelet_lazy.h>
|
||||
#include <message_filters/subscriber.h>
|
||||
+2
-2
@@ -39,11 +39,11 @@
|
||||
#define PCL_ROS_EXTRACT_CLUSTERS_H_
|
||||
|
||||
#include <pcl/segmentation/extract_clusters.h>
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/EuclideanClusterExtractionConfig.h"
|
||||
#include "pcl_ros/EuclideanClusterExtractionConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -38,7 +38,7 @@
|
||||
#ifndef PCL_ROS_EXTRACT_POLYGONAL_PRISM_DATA_H_
|
||||
#define PCL_ROS_EXTRACT_POLYGONAL_PRISM_DATA_H_
|
||||
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
#include <message_filters/sync_policies/exact_time.h>
|
||||
#include <message_filters/sync_policies/approximate_time.h>
|
||||
#include <message_filters/pass_through.h>
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/ExtractPolygonalPrismDataConfig.h"
|
||||
#include "pcl_ros/ExtractPolygonalPrismDataConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+3
-3
@@ -38,7 +38,7 @@
|
||||
#ifndef PCL_ROS_SAC_SEGMENTATION_H_
|
||||
#define PCL_ROS_SAC_SEGMENTATION_H_
|
||||
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
#include <message_filters/pass_through.h>
|
||||
|
||||
// PCL includes
|
||||
@@ -46,8 +46,8 @@
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/SACSegmentationConfig.h"
|
||||
#include "pcl_ros/SACSegmentationFromNormalsConfig.h"
|
||||
#include "pcl_ros/SACSegmentationConfig.hpp"
|
||||
#include "pcl_ros/SACSegmentationFromNormalsConfig.hpp"
|
||||
|
||||
namespace pcl_ros
|
||||
{
|
||||
+2
-2
@@ -39,11 +39,11 @@
|
||||
#define PCL_ROS_SEGMENT_DIFFERENCES_H_
|
||||
|
||||
#include <pcl/segmentation/segment_differences.h>
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
// Dynamic reconfigure
|
||||
#include <dynamic_reconfigure/server.h>
|
||||
#include "pcl_ros/SegmentDifferencesConfig.h"
|
||||
#include "pcl_ros/SegmentDifferencesConfig.hpp"
|
||||
|
||||
|
||||
namespace pcl_ros
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
#ifndef PCL_ROS_CONVEX_HULL_2D_H_
|
||||
#define PCL_ROS_CONVEX_HULL_2D_H_
|
||||
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/surface/convex_hull.h>
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
#ifndef PCL_ROS_MOVING_LEAST_SQUARES_H_
|
||||
#define PCL_ROS_MOVING_LEAST_SQUARES_H_
|
||||
|
||||
#include "pcl_ros/pcl_nodelet.h"
|
||||
#include "pcl_ros/pcl_nodelet.hpp"
|
||||
|
||||
// PCL includes
|
||||
#include <pcl/surface/mls.h>
|
||||
Reference in New Issue
Block a user