Formation of mesh using triangulation

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

Formation of mesh using triangulation

Glachas
Hi,

I am trying to form mesh after applying moving least square method. I am getting following error:
"/build/pcl-6_P28C/pcl-1.7.2/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:136: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector<int>&, std::vector<float>&) const [with PointT = pcl::PointNormal; Dist = flann::L2_Simple<float>]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.
Aborted (core dumped)"

I pastebinned my code here https://paste.ubuntu.com/24973202/
I followed pcl/documentation/tutorials.
Waiting for reply




_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Formation of mesh using triangulation

Glachas
Anyone please.

On Wed, Jun 28, 2017 at 8:58 PM, Chandrakant Ojha <[hidden email]> wrote:
Hi,

I am trying to form mesh after applying moving least square method. I am getting following error:
"/build/pcl-6_P28C/pcl-1.7.2/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:136: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector<int>&, std::vector<float>&) const [with PointT = pcl::PointNormal; Dist = flann::L2_Simple<float>]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.
Aborted (core dumped)"

I pastebinned my code here https://paste.ubuntu.com/24973202/
I followed pcl/documentation/tutorials.
Waiting for reply






--
Regards,
Chandrakant Ojha
Under Graduate Student
Computer Science and Engineering
Indian Institute of Information Technology Sri City (IIIT-S)
Chittoor
, Andhra Pradhesh, India - 517588


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Formation of mesh using triangulation

Chris Flesher
From the error message it seems like you have nan's or inf's in your point cloud that you need to get rid of. The KDTree needs finite values in order to compute distances between points.

On Wed, Jun 28, 2017 at 11:15 PM, Chandrakant Ojha <[hidden email]> wrote:
Anyone please.

On Wed, Jun 28, 2017 at 8:58 PM, Chandrakant Ojha <[hidden email]> wrote:
Hi,

I am trying to form mesh after applying moving least square method. I am getting following error:
"/build/pcl-6_P28C/pcl-1.7.2/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:136: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector<int>&, std::vector<float>&) const [with PointT = pcl::PointNormal; Dist = flann::L2_Simple<float>]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.
Aborted (core dumped)"

I pastebinned my code here https://paste.ubuntu.com/24973202/
I followed pcl/documentation/tutorials.
Waiting for reply






--
Regards,
Chandrakant Ojha
Under Graduate Student
Computer Science and Engineering
Indian Institute of Information Technology Sri City (IIIT-S)
Chittoor
, Andhra Pradhesh, India - 517588


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



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Formation of mesh using triangulation

Glachas
But I am using the standard values to set the parameters.

On Jun 29, 2017 5:26 PM, "Christopher Flesher" <[hidden email]> wrote:
From the error message it seems like you have nan's or inf's in your point cloud that you need to get rid of. The KDTree needs finite values in order to compute distances between points.

On Wed, Jun 28, 2017 at 11:15 PM, Chandrakant Ojha <[hidden email]> wrote:
Anyone please.

On Wed, Jun 28, 2017 at 8:58 PM, Chandrakant Ojha <[hidden email]> wrote:
Hi,

I am trying to form mesh after applying moving least square method. I am getting following error:
"/build/pcl-6_P28C/pcl-1.7.2/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:136: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector<int>&, std::vector<float>&) const [with PointT = pcl::PointNormal; Dist = flann::L2_Simple<float>]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.
Aborted (core dumped)"

I pastebinned my code here https://paste.ubuntu.com/24973202/
I followed pcl/documentation/tutorials.
Waiting for reply






--
Regards,
Chandrakant Ojha
Under Graduate Student
Computer Science and Engineering
Indian Institute of Information Technology Sri City (IIIT-S)
Chittoor
, Andhra Pradhesh, India - 517588


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



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



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