Quantcast

Trying to access correspondences from GICP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Trying to access correspondences from GICP

vrshy
Hi
I'm trying to access the correspondences coming out of GICP for that I inherited the GICP class like so:

template <typename PointSource, typename PointTarget>
class GeneralizedIterativeClosestPoint_Exposed
    : public pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>
{
 public:
  pcl::CorrespondencesPtr getCorrespondencesPtr()
  {
    return this->correspondences_;
  }
};

but after inheriting this class now when I run the align function, the code hangs and gdb shows it stuck in
Eigen::Internal::Evaluator? Can someone tell me the correct way to access correspondences out of GICP as I need it to run LUM or some equivalent graph optimization.

Thank you.
Loading...