cmake - Tried Normal Distributions Transform with my own files (in correct PCD format) and it throws errors, why? -


http://pointclouds.org/documentation/tutorials/normal_distributions_transform.php#normal-distributions-transform

i've used program sample pcd's given , came out correctly. confirmed experienced users on here. i'm trying use own pcd's. didn't want bother changing program changed names room_scan1 , room_scan2. when attempt use them, error:

loaded 307200 data points room_scan1.pcd loaded 307200 data points room_scan2.pcd filtered cloud contains 1186 data points room_scan2.pcd normal_distributions_transform: /build/buildd/pcl-1.7-1.7.1/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:172: int pcl::kdtreeflann::radiussearch(const pointt&, double, std::vector&, std::vector&, unsigned int) const [with pointt = pcl::pointxyz, dist = flann::l2_simple]: assertion `point_representation_->isvalid (point) && "invalid (nan, inf) point coordinates given radiussearch!"' failed. aborted (core dumped)

this program compiled: http://robotica.unileon.es/mediawiki/index.php/pcl/openni_tutorial_1:_installing_and_testing#testing_.28openni_viewer.29

before suggest it, let know changed of pointxyzrgba designations pointxyz. threw same error before , after doing this. thing confuses me looked @ produced pcd files , seem same samples given ndt.

mine:

2320 2e50 4344 2076 302e 3720 2d20 506f 696e 7420 436c 6f75 6420 4461 7461 2066 696c 6520 666f 726d 6174 0a56 4552 5349 4f4e 2030 2e37 0a46 4945 4c44 5320 7820 7920 7a0a 5349 5a45 2034 2034 2034 0a54 5950 4520 4620 4620 460a 434f 554e 5420 3120 3120 310a 5749 4454 4820 3634 300a 4845 4947 4854 2034 3830 0a56 4945 5750 4f49 4e54 2030 2030 2030 2031 2030 2030 2030 0a50 4f49 4e54 5320 3330 3732 3030 0a44 4154 4120 6269 6e61 7279 0a00 00c0 7f00 00c0 7f00 00c0 7f00 00c0 7f00 00c0 

sample ndt page:

2320 2e50 4344 2076 302e 3720 2d20 506f 696e 7420 436c 6f75 6420 4461 7461 2066 696c 6520 666f 726d 6174 0a56 4552 5349 4f4e 2030 2e37 0a46 4945 4c44 5320 7820 7920 7a0a 5349 5a45 2034 2034 2034 0a54 5950 4520 4620 4620 460a 434f 554e 5420 3120 3120 310a 5749 4454 4820 3131 3235 3836 0a48 4549 4748 5420 310a 5649 4557 504f 494e 5420 3020 3020 3020 3120 3020 3020 300a 504f 494e 5453 2031 3132 3538 

does have ideas?


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -