[ros-users] pcl_ros outlier removal
Radu Bogdan Rusu
rusu at willowgarage.com
Mon Feb 7 21:09:10 UTC 2011
Georg,
Can you please try to add a PassThrough filter ahead, and see if that works? We haven't managed to test all combinations
yet, and I'm just wondering whether a recent update broke it.
We do need to build proper unit tests for all these nodelets... at some point.
Cheers,
Radu.
--
http://pointclouds.org
On 02/07/2011 09:33 AM, Arbeiter, Georg wrote:
> Hi,
>
> When I try to run the following launch file:
>
> <launch>
> <node pkg="pcl_ros" type="pcd_to_pointcloud" name="pcd_to_pointcloud"
> args="$(find pcl_tutorials)/data/table_scene_mug_stereo_textured.pcd 1"
> output="screen">
> <remap from="/cloud_pcd" to="/scene_pointcloud2" />
> </node>
>
>
> <node pkg="nodelet" type="nodelet" name="pcl_manager" args="manager"
> output="screen" />
>
> <!-- Run a StatisticalOutlierRemoval filter -->
> <node pkg="nodelet" type="nodelet" name="outlier_removal" args="load
> pcl/StatisticalOutlierRemoval pcl_manager" output="screen">
> <remap from="~input" to="/scene_pointcloud2" />
> <rosparam>
> mean_k: 50
> stddev: 1.0
> negative: False
> </rosparam>
> </node>
>
> </launch>
>
> and than try to visualize the output in RViz I always get
> [ WARN] [1297099189.315140446]:
> [pcl::StatisticalOutlierRemoval::applyFilter] Searching for the closest
> 50 neighbors failed.
>
> and no point cloud is shown. rostopic echo /scene_pointcloud2 outputs a
> lot of numbers which seem to be correct and no warning is shown.
> What am I doing wrong?
>
> Regards,
> Georg
>
More information about the ros-users
mailing list