greenhouse/pcl_ros/samples/sample_statistical_outlier_removal.launch
2018-04-30 11:44:37 -04:00

40 lines
1016 B
XML

<launch>
<arg name="gui" default="true" />
<!-- use voxel_grid for small cpu load in filtering -->
<include file="$(find pcl_ros)/samples/sample_voxel_grid.launch">
<arg name="gui" value="false" />
<arg name="leaf_size" value="0.02" />
</include>
<node name="statistical_outlier_removal"
pkg="nodelet" type="nodelet"
args="standalone pcl/StatisticalOutlierRemoval">
<remap from="~input" to="voxel_grid/output" />
<rosparam>
mean_k: 10
stddev: 1.0
</rosparam>
</node>
<test test-name="test_statistical_outlier_removal"
name="test_statistical_outlier_removal"
pkg="rostest" type="hztest">
<rosparam>
topic: /statistical_outlier_removal/output
hz: 20
hzerror: 15
test_duration: 5.0
</rosparam>
</test>
<group if="$(arg gui)">
<node name="rviz"
pkg="rviz" type="rviz"
args="-d $(find pcl_ros)/samples/config/statistical_outlier_removal.rviz">
</node>
</group>
</launch>