Add test arg to avoid duplicated testing
This commit is contained in:
parent
9ac65d9d20
commit
9a99734362
@ -3,8 +3,9 @@
|
|||||||
<arg name="gui" default="true" />
|
<arg name="gui" default="true" />
|
||||||
|
|
||||||
<!-- use voxel_grid for small cpu load in filtering -->
|
<!-- use voxel_grid for small cpu load in filtering -->
|
||||||
<include file="$(find pcl_ros)/samples/sample_voxel_grid.launch">
|
<include file="$(find pcl_ros)/samples/pcl_ros/filters/sample_voxel_grid.launch">
|
||||||
<arg name="gui" value="false" />
|
<arg name="gui" value="false" />
|
||||||
|
<arg name="test" value="false" />
|
||||||
<arg name="leaf_size" value="0.02" />
|
<arg name="leaf_size" value="0.02" />
|
||||||
</include>
|
</include>
|
||||||
|
|
||||||
@ -32,7 +33,7 @@
|
|||||||
<group if="$(arg gui)">
|
<group if="$(arg gui)">
|
||||||
<node name="rviz"
|
<node name="rviz"
|
||||||
pkg="rviz" type="rviz"
|
pkg="rviz" type="rviz"
|
||||||
args="-d $(find pcl_ros)/samples/config/statistical_outlier_removal.rviz">
|
args="-d $(find pcl_ros)/samples/pcl_ros/filters/config/statistical_outlier_removal.rviz">
|
||||||
</node>
|
</node>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<launch>
|
<launch>
|
||||||
|
|
||||||
<arg name="gui" default="true" />
|
<arg name="gui" default="true" />
|
||||||
|
<arg name="test" default="true" />
|
||||||
|
|
||||||
<arg name="leaf_size" default="0.05" />
|
<arg name="leaf_size" default="0.05" />
|
||||||
|
|
||||||
@ -20,16 +21,18 @@
|
|||||||
</rosparam>
|
</rosparam>
|
||||||
</node>
|
</node>
|
||||||
|
|
||||||
<test test-name="test_voxel_grid"
|
<group if="$(arg test)">
|
||||||
name="test_voxel_grid"
|
<test test-name="test_voxel_grid"
|
||||||
pkg="rostest" type="hztest">
|
name="test_voxel_grid"
|
||||||
<rosparam>
|
pkg="rostest" type="hztest">
|
||||||
topic: /voxel_grid/output
|
<rosparam>
|
||||||
hz: 20
|
topic: /voxel_grid/output
|
||||||
hzerror: 15
|
hz: 20
|
||||||
test_duration: 5.0
|
hzerror: 15
|
||||||
</rosparam>
|
test_duration: 5.0
|
||||||
</test>
|
</rosparam>
|
||||||
|
</test>
|
||||||
|
</group>
|
||||||
|
|
||||||
<group if="$(arg gui)">
|
<group if="$(arg gui)">
|
||||||
<node name="rviz"
|
<node name="rviz"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user