Skip to content

Commit b812b3c

Browse files
committed
feat: add raw pointcloud downsampler
Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
1 parent 33747c9 commit b812b3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

perception/probabilistic_occupancy_grid_map/launch/multi_lidar_pointcloud_based_occupancy_grid_map.launch.py

+8
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ def get_downsample_preprocess_nodes(voxel_size: float, raw_pointcloud_topics: li
135135
"voxel_size": voxel_size,
136136
}
137137
nodes.append(get_downsample_filter_node(obstacle_settings))
138+
raw_settings = {
139+
"plugin": "pointcloud_preprocessor::ApproximateDownsampleFilterComponent",
140+
"node_name": "obstacle_pc_downsample_filter",
141+
"input_topic": LaunchConfiguration("input/obstacle_pointcloud"),
142+
"output_topic": "/perception/obstacle_segmentation/downsample/pointcloud",
143+
"voxel_size": voxel_size,
144+
}
145+
nodes.append(get_downsample_filter_node(raw_settings))
138146
return nodes
139147

140148

0 commit comments

Comments
 (0)