pclpy_tutorial icon indicating copy to clipboard operation
pclpy_tutorial copied to clipboard

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

Open raespanha opened this issue 2 years ago • 1 comments

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:

https://github.com/maguangyan/pclpy_tutorial/blob/9ce54d1f1a70cf379b5954ad4d8bed3210e06a4c/tutorial/09_Features/07_VFH_descriptors.py#L36

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.

raespanha avatar Mar 29 '22 15:03 raespanha

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.

maguangyan avatar Mar 30 '22 02:03 maguangyan