@@ -54,8 +54,6 @@ def generate_launch_description() -> LaunchDescription:
5454 slam = LaunchConfiguration ('slam' )
5555 namespace = LaunchConfiguration ('namespace' )
5656 map_yaml_file = LaunchConfiguration ('map' )
57- keepout_mask_yaml_file = LaunchConfiguration ('keepout_mask' )
58- speed_mask_yaml_file = LaunchConfiguration ('speed_mask' )
5957 graph_filepath = LaunchConfiguration ('graph' )
6058 use_sim_time = LaunchConfiguration ('use_sim_time' )
6159 params_file = LaunchConfiguration ('params_file' )
@@ -100,18 +98,6 @@ def generate_launch_description() -> LaunchDescription:
10098 description = 'Full path to map file to load' ,
10199 )
102100
103- declare_keepout_mask_yaml_cmd = DeclareLaunchArgument (
104- 'keepout_mask' ,
105- default_value = os .path .join (bringup_dir , 'maps' , f'{ MAP_TYPE } _keepout.yaml' ),
106- description = 'Full path to keepout mask file to load' ,
107- )
108-
109- declare_speed_mask_yaml_cmd = DeclareLaunchArgument (
110- 'speed_mask' ,
111- default_value = os .path .join (bringup_dir , 'maps' , f'{ MAP_TYPE } _speed.yaml' ),
112- description = 'Full path to speed mask file to load' ,
113- )
114-
115101 declare_graph_file_cmd = DeclareLaunchArgument (
116102 'graph' ,
117103 default_value = os .path .join (bringup_dir , 'graphs' , 'turtlebot4_graph.geojson' ),
@@ -228,8 +214,6 @@ def generate_launch_description() -> LaunchDescription:
228214 'namespace' : namespace ,
229215 'slam' : slam ,
230216 'map' : map_yaml_file ,
231- 'keepout_mask' : keepout_mask_yaml_file ,
232- 'speed_mask' : speed_mask_yaml_file ,
233217 'graph' : graph_filepath ,
234218 'use_sim_time' : use_sim_time ,
235219 'params_file' : params_file ,
@@ -296,8 +280,6 @@ def generate_launch_description() -> LaunchDescription:
296280 ld .add_action (declare_namespace_cmd )
297281 ld .add_action (declare_slam_cmd )
298282 ld .add_action (declare_map_yaml_cmd )
299- ld .add_action (declare_keepout_mask_yaml_cmd )
300- ld .add_action (declare_speed_mask_yaml_cmd )
301283 ld .add_action (declare_graph_file_cmd )
302284 ld .add_action (declare_use_sim_time_cmd )
303285 ld .add_action (declare_params_file_cmd )
0 commit comments