We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e63c529 + 205d7e8 commit 319e433Copy full SHA for 319e433
tools/icp.cpp
@@ -40,6 +40,7 @@
40
#include <pcl/console/parse.h>
41
#include <pcl/io/pcd_io.h>
42
#include <pcl/point_types.h>
43
+#include <pcl/filters/filter.h> // for removeNaNFromPointCloud
44
#include <pcl/registration/icp.h>
45
#include <pcl/registration/icp_nl.h>
46
#include <pcl/registration/incremental_registration.h>
@@ -97,6 +98,8 @@ main (int argc, char **argv)
97
98
std::cout << "Could not read file" << std::endl;
99
return -1;
100
}
101
+ pcl::Indices dummy_indices;
102
+ pcl::removeNaNFromPointCloud(*data, *data, dummy_indices);
103
104
if (!iicp.registerCloud (data))
105
{
0 commit comments