@@ -35,15 +35,6 @@ def __init__(self, context):
35
35
with open (pointcloud_map_filter_param_path , "r" ) as f :
36
36
self .pointcloud_map_filter_param = yaml .safe_load (f )["/**" ]["ros__parameters" ]
37
37
self .voxel_size = self .pointcloud_map_filter_param ["down_sample_voxel_size" ]
38
- self .distance_threshold = self .pointcloud_map_filter_param ["distance_threshold" ]
39
- self .downsize_ratio_z_axis = self .pointcloud_map_filter_param ["downsize_ratio_z_axis" ]
40
- self .timer_interval_ms = self .pointcloud_map_filter_param ["timer_interval_ms" ]
41
- self .use_dynamic_map_loading = self .pointcloud_map_filter_param ["use_dynamic_map_loading" ]
42
- self .map_update_distance_threshold = self .pointcloud_map_filter_param [
43
- "map_update_distance_threshold"
44
- ]
45
- self .map_loader_radius = self .pointcloud_map_filter_param ["map_loader_radius" ]
46
- self .publish_debug_pcd = self .pointcloud_map_filter_param ["publish_debug_pcd" ]
47
38
self .use_pointcloud_map = LaunchConfiguration ("use_pointcloud_map" ).perform (context )
48
39
49
40
def create_pipeline (self ):
@@ -116,16 +107,10 @@ def create_compare_map_pipeline(self):
116
107
("kinematic_state" , "/localization/kinematic_state" ),
117
108
],
118
109
parameters = [
110
+ self .pointcloud_map_filter_param ,
119
111
{
120
- "distance_threshold" : self .distance_threshold ,
121
- "downsize_ratio_z_axis" : self .downsize_ratio_z_axis ,
122
- "timer_interval_ms" : self .timer_interval_ms ,
123
- "use_dynamic_map_loading" : self .use_dynamic_map_loading ,
124
- "map_update_distance_threshold" : self .map_update_distance_threshold ,
125
- "map_loader_radius" : self .map_loader_radius ,
126
- "publish_debug_pcd" : self .publish_debug_pcd ,
127
112
"input_frame" : "map" ,
128
- }
113
+ },
129
114
],
130
115
extra_arguments = [
131
116
{"use_intra_process_comms" : False },
0 commit comments