@@ -209,11 +209,9 @@ def create_parameter_dict(*args):
209
209
210
210
# Ring Outlier Filter is the last component in the pipeline, so control the output frame here
211
211
if LaunchConfiguration ("output_as_sensor_frame" ).perform (context ):
212
- ring_outlier_filter_parameters = {"output_frame" : LaunchConfiguration ("frame_id" )}
212
+ ring_outlier_output_frame = {"output_frame" : LaunchConfiguration ("frame_id" )}
213
213
else :
214
- ring_outlier_filter_parameters = {
215
- "output_frame" : ""
216
- } # keep the output frame as the input frame
214
+ ring_outlier_output_frame = {"output_frame" : "" } # keep the output frame as the input frame
217
215
ring_outlier_filter_component = ComposableNode (
218
216
package = "autoware_pointcloud_preprocessor" ,
219
217
plugin = "autoware::pointcloud_preprocessor::RingOutlierFilterComponent" ,
@@ -222,7 +220,10 @@ def create_parameter_dict(*args):
222
220
("input" , "rectified/pointcloud_ex" ),
223
221
("output" , "pointcloud_before_sync" ),
224
222
],
225
- parameters = [ring_outlier_filter_parameters ],
223
+ parameters = [
224
+ load_composable_node_param ("ring_outlier_filter_node_param_file" ),
225
+ ring_outlier_output_frame ,
226
+ ],
226
227
extra_arguments = [{"use_intra_process_comms" : LaunchConfiguration ("use_intra_process" )}],
227
228
)
228
229
@@ -342,7 +343,11 @@ def add_launch_arg(name: str, default_value=None):
342
343
add_launch_arg ("horizontal_resolution" , "0.4" )
343
344
add_launch_arg (
344
345
"blockage_diagnostics_param_file" ,
345
- [FindPackageShare ("aip_x2_launch" ), "/config/blockage_diagnostics_param_file.yaml" ],
346
+ [FindPackageShare ("aip_x2_launch" ), "/config/blockage_diagnostics.param.yaml" ],
347
+ )
348
+ add_launch_arg (
349
+ "ring_outlier_filter_node_param_file" ,
350
+ [FindPackageShare ("aip_x2_launch" ), "/config/ring_outlier_filter_node.param.yaml" ],
346
351
)
347
352
add_launch_arg (
348
353
"distortion_corrector_node_param_file" ,
0 commit comments