-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfilter_test.launch
47 lines (44 loc) · 2.21 KB
/
filter_test.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="robot_name" default="X2" />
<node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="pcl_manager" args="manager" output="screen" />
<!-- Run a passthrough filter to clean NaNs -->
<!-- <node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psx" args="load pcl/PassThrough pcl_manager" output="screen"> -->
<node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psx" args="load pcl/VoxelGrid pcl_manager" output="screen">
<!-- <remap from="~input" to="merged_pc" /> -->
<remap from="~input" to="points" />
<remap from="~output" to="points_filtered" />
<rosparam>
<!-- filter_field_name: x -->
<!-- filter_limit_min: -500 -->
<!-- filter_limit_max: 500 -->
<!-- filter_limit_negative: False -->
leaf_size: 0.1
</rosparam>
</node>
<!-- <node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psy" args="load pcl/PassThrough pcl_manager" output="screen"> -->
<!-- <node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psy" args="load pcl/VoxelGrid pcl_manager" output="screen"> -->
<!-- <!-- <remap from="~input" to="merged_pc" /> --> -->
<!-- <remap from="~input" to="psx/output" /> -->
<!-- <rosparam> -->
<!-- filter_field_name: y -->
<!-- filter_limit_min: -500 -->
<!-- filter_limit_max: 500 -->
<!-- filter_limit_negative: False -->
<!-- leaf_size: 0.2 -->
<!-- </rosparam> -->
<!-- </node> -->
<!-- <node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psz" args="load pcl/PassThrough pcl_manager" output="screen"> -->
<!-- <node ns="$(arg robot_name)" pkg="nodelet" type="nodelet" name="psz" args="load pcl/VoxelGrid pcl_manager" output="screen"> -->
<!-- <!-- <remap from="~input" to="merged_pc" /> --> -->
<!-- <remap from="~input" to="psy/output" /> -->
<!-- <remap from="~output" to="points_filtered" /> -->
<!-- <rosparam> -->
<!-- filter_field_name: z -->
<!-- filter_limit_min: -500 -->
<!-- filter_limit_max: 500 -->
<!-- filter_limit_negative: False -->
<!-- leaf_size: 0.2 -->
<!-- </rosparam> -->
<!-- </node> -->
</launch>