Skip to content

Commit 5357ad0

Browse files
authored
Use scan ground filter for xx1 (autowarefoundation#313)
Signed-off-by: wep21 <[email protected]>
1 parent c45106f commit 5357ad0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sensing_launch/launch/aip_xx1/pointcloud_preprocessor.launch.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,17 @@ def launch_setup(context, *args, **kwargs):
117117

118118
ground_component = ComposableNode(
119119
package=pkg,
120-
plugin='pointcloud_preprocessor::RayGroundFilterComponent',
121-
name='ray_ground_filter',
120+
plugin='pointcloud_preprocessor::ScanGroundFilterComponent',
121+
name='scan_ground_filter',
122122
remappings=[
123123
('input', 'measurement_range_cropped/pointcloud'),
124124
('output', 'no_ground/pointcloud')
125125
],
126126
parameters=[{
127-
'general_max_slope': 10.0,
128-
'local_max_slope': 10.0,
129-
'min_height_threshold': 0.2,
127+
'global_slope_max': 10.0,
128+
'local_slope_max_angle': 30.0,
129+
'split_points_distance_tolerance': 0.2,
130+
'split_height_distance': 0.2,
130131
}],
131132
extra_arguments=[{
132133
'use_intra_process_comms': LaunchConfiguration('use_intra_process')

0 commit comments

Comments
 (0)