Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'pclpy.pcl.common' has no attribute 'isFinite' #3

Open
raespanha opened this issue Mar 29, 2022 · 1 comment
Open

module 'pclpy.pcl.common' has no attribute 'isFinite' #3

raespanha opened this issue Mar 29, 2022 · 1 comment

Comments

@raespanha
Copy link

First of all, thanks so much for sharing these tutorial code/snippets. It is for sure, a great contribution for PCL beginners.

I am having an issue in the following line:

if not pcl.common.isFinite(cloud_normals.at(i)):

My pclpy version is 0.12.0 (updated at current time)

From pclpy repo release notes I can't find that isFinite attribute was somehow removed or moved to another module.

Once again, thanks.

@maguangyan
Copy link
Owner

Hi,I'm using the 0.11.0 version of pclpy for this tutorial, because the visualization module was removed from version 0.12.0 . And in version 0.11.0, pcl.common.isFinite works fine. i just tried version 0.12.0 and pcl.common.isFinite seems to have been removed. But it's not a problem,I recommend that you use Numpy to check whether the point cloud is finite. That's all.Thank you for your questions and welcome discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants