udacity / RoboND-Perception-Exercises

Perception Exercises for Robotics
MIT License
102 stars 210 forks source link

fix outlier filter #18

Open horagong opened 6 years ago

horagong commented 6 years ago

I got this error.

Traceback (most recent call last):
  File "RANSAC.py", line 70, in <module>
    outlier_filter = cloud_filtered.make_statistical_outlier_filter()
  File "pcl/pxi/PointCloud_PointXYZRGB_180.pxi", line 289, in pcl._pcl.PointCloud_PointXYZRGB.make_statistical_outlier_filter (pcl/_pcl_180.cpp:70034)
  File "pcl/pxi/Filters/StatisticalOutlierRemovalFilter.pxi", line 135, in pcl._pcl.StatisticalOutlierRemovalFilter_PointXYZRGB.__cinit__ (pcl/_pcl_180.cpp:23989)
TypeError: __cinit__() takes exactly 1 positional argument (0 given)

You fixed outlier filter only for 172. It was ok with the same fix(https://github.com/udacity/RoboND-Perception-Exercises/commit/d17bcd4747026fb81e1fe0d7db7c804a86860792) to the followings. python-pcl/pcl/pxi/PointCloud_PointXYZ.pxi python-pcl/pcl/pxi/Filters/StatisticalOutlierRemovalFilter.pxi

charlescc9 commented 6 years ago

same issue; any resolution?

anubhav1772 commented 4 years ago

I am facing the same issue, did you able to solve the problem?

shivammalviya712 commented 3 years ago

Has anyone solved it? Please, help if you have solved