orion / rpms / pcl

Forked from rpms/pcl 3 years ago
Clone
Blob Blame History Raw
diff -up ./filters/include/pcl/filters/impl/covariance_sampling.hpp.gcc7 ./filters/include/pcl/filters/impl/covariance_sampling.hpp
--- ./filters/include/pcl/filters/impl/covariance_sampling.hpp.gcc7	2018-02-09 13:19:28.427716435 -0500
+++ ./filters/include/pcl/filters/impl/covariance_sampling.hpp	2018-02-09 13:20:22.447908704 -0500
@@ -210,7 +210,7 @@ pcl::CovarianceSampling<PointT, PointNT>
   for (size_t i = 0; i < 6; ++i)
   {
     for (size_t p_i = 0; p_i < candidate_indices.size (); ++p_i)
-      L[i].push_back (std::make_pair (p_i, fabs (v[p_i].dot (x.block<6, 1> (0, i)))));
+      L[i].push_back (std::make_pair ((int)p_i, (double)std::abs(v[p_i].dot (x.block<6, 1> (0, i)))));
 
     // Sort in decreasing order
     L[i].sort (sort_dot_list_function);
diff -up ./segmentation/include/pcl/segmentation/ground_plane_comparator.h.gcc7 ./segmentation/include/pcl/segmentation/ground_plane_comparator.h
--- ./segmentation/include/pcl/segmentation/ground_plane_comparator.h.gcc7	2018-02-09 20:35:03.502254072 -0500
+++ ./segmentation/include/pcl/segmentation/ground_plane_comparator.h	2018-02-09 20:35:18.848285399 -0500
@@ -147,7 +147,7 @@ namespace pcl
       const std::vector<float>&
       getPlaneCoeffD () const
       {
-        return (plane_coeff_d_);
+        return (*plane_coeff_d_);
       }
 
       /** \brief Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane.
diff -up ./segmentation/include/pcl/segmentation/plane_coefficient_comparator.h.gcc7 ./segmentation/include/pcl/segmentation/plane_coefficient_comparator.h
--- ./segmentation/include/pcl/segmentation/plane_coefficient_comparator.h.gcc7	2018-02-09 20:10:38.707297757 -0500
+++ ./segmentation/include/pcl/segmentation/plane_coefficient_comparator.h	2018-02-09 20:11:09.931359717 -0500
@@ -141,7 +141,7 @@ namespace pcl
       const std::vector<float>&
       getPlaneCoeffD () const
       {
-        return (plane_coeff_d_);
+        return (*plane_coeff_d_);
       }
 
       /** \brief Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane.