Note that there are some explanatory texts on larger screens.

plurals
  1. POPCL Rigid Transformation using IterativeClosestPoint - Error: vector erase iterator outside range
    primarykey
    data
    text
    <p>I am currently trying to calculate rigid transformation between two point sets so I tried to use the code given by the tutorial on pointclouds.org:</p> <p><a href="http://www.pointclouds.org/documentation/tutorials/iterative_closest_point.php#iterative-closest-point" rel="nofollow">http://www.pointclouds.org/documentation/tutorials/iterative_closest_point.php#iterative-closest-point</a></p> <p>For my case I only changed the part where the data is randomly generated to something that loads the point data I want to analyze. Everything else is exactly like in the tutorial... (I also tried testing exactly the tutorial code with the random data, in case I had somethign wrong with reading my input data)</p> <p>Since I work with Qt I integrated the PCL library, Eigen library and FLANN library to my project. It finds all headers and successfully compiles with MSVC 2008...</p> <p>Unfortunately I always get a runtime error at</p> <pre><code>icp.setInputTarget(cloud_out); </code></pre> <p>saying:</p> <blockquote> <p>Debug Assertion failed! Program: ...<em>MSVC2008</em>_Qt_SDK_Release\release\Project.exe File: c:\Program Files\Microsoft VIsual Studio 10.0\CV\include\vector Line: 1200</p> <p>Expression: vector erase iterator outside range</p> <p>[..] ... check documentation ... [..]</p> </blockquote> <p>Does anybody know what that means? The input clouds both have the same size and have filled values.</p> <p>I would be thankful for any help!</p> <p><strong>UPDATE 1:</strong></p> <p>The error message shows some file path for MSVC 2010 (10.0) ... So I tried to uninstall Visual Studio 2010 since I don't really need it. But still, if I compile in Debug mode, it shows me an error message, but with <code>Expression: vector iterators incompatible</code> instead... If I now run it in Release mode, it just crashes at runtime (at the same line), but doesn't show that error message.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload