Access violation with IterativeClosestPointNonLinear

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Access violation with IterativeClosestPointNonLinear

marine
Dear all,

I'm working with PCL 1.8 for Visual Studio 2015 and found a random access violation problem.

I started working from the example:
 http://pointclouds.org/documentation/tutorials/pairwise_incremental_registration.php

And found some random access violation  problems in  TransformationEstimationLM at this line

     fvec[i] = estimator_->computeDistance (p_src_warped, p_tgt);

the problem is that sometimes tgt_indices contains an index with very high value.

This index comes from determineCorrespondences in correspondence_estimation.hpp

    tree_->nearestKSearch (input_->points[*idx], 1, index, distance);

returns a index[0] that is not in range .

I can not find what is wrong, I attach a sample program: http://ideone.com/MyxABM

Any help will be appreciated
 
 

Reply | Threaded
Open this post in threaded view
|

Re: Access violation with IterativeClosestPointNonLinear

archdruid911
Hi there, I know Im 1 year late but did you find the solution to your issue?
Im having the same access violation error.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users