@@ -49,8 +49,6 @@ def generate_launch_description():
4949 # On this example all robots are launched with the same settings
5050 map_yaml_file = LaunchConfiguration ('map' )
5151
52- default_nav_through_poses_bt_xml = LaunchConfiguration ('default_nav_through_poses_bt_xml' )
53- default_nav_to_pose_bt_xml = LaunchConfiguration ('default_nav_to_pose_bt_xml' )
5452 autostart = LaunchConfiguration ('autostart' )
5553 rviz_config_file = LaunchConfiguration ('rviz_config' )
5654 use_robot_state_pub = LaunchConfiguration ('use_robot_state_pub' )
@@ -83,20 +81,6 @@ def generate_launch_description():
8381 default_value = os .path .join (bringup_dir , 'params' , 'nav2_multirobot_params_2.yaml' ),
8482 description = 'Full path to the ROS2 parameters file to use for robot2 launched nodes' )
8583
86- default_nav_through_poses_bt_xml_cmd = DeclareLaunchArgument (
87- 'default_nav_through_poses_bt_xml' ,
88- default_value = os .path .join (
89- get_package_share_directory ('nav2_bt_navigator' ),
90- 'behavior_trees' , 'navigate_through_poses_w_replanning_and_recovery.xml' ),
91- description = 'Full path to the behavior tree xml file to use' )
92-
93- default_nav_to_pose_bt_xml_cmd = DeclareLaunchArgument (
94- 'default_nav_to_pose_bt_xml' ,
95- default_value = os .path .join (
96- get_package_share_directory ('nav2_bt_navigator' ),
97- 'behavior_trees' , 'navigate_to_pose_w_replanning_and_recovery.xml' ),
98- description = 'Full path to the behavior tree xml file to use' )
99-
10084 declare_autostart_cmd = DeclareLaunchArgument (
10185 'autostart' , default_value = 'false' ,
10286 description = 'Automatically startup the stacks' )
@@ -160,10 +144,6 @@ def generate_launch_description():
160144 'map' : map_yaml_file ,
161145 'use_sim_time' : 'True' ,
162146 'params_file' : params_file ,
163- 'default_nav_through_poses_bt_xml' :
164- default_nav_through_poses_bt_xml ,
165- 'default_nav_to_pose_bt_xml' :
166- default_nav_to_pose_bt_xml ,
167147 'autostart' : autostart ,
168148 'use_rviz' : 'False' ,
169149 'use_simulator' : 'False' ,
@@ -179,14 +159,6 @@ def generate_launch_description():
179159 LogInfo (
180160 condition = IfCondition (log_settings ),
181161 msg = [robot ['name' ], ' params yaml: ' , params_file ]),
182- LogInfo (
183- condition = IfCondition (log_settings ),
184- msg = [robot ['name' ], ' Nav to Pose behavior tree xml: ' ,
185- default_nav_to_pose_bt_xml ]),
186- LogInfo (
187- condition = IfCondition (log_settings ),
188- msg = [robot ['name' ], ' Nav Through Poses behavior tree xml: ' ,
189- default_nav_through_poses_bt_xml ]),
190162 LogInfo (
191163 condition = IfCondition (log_settings ),
192164 msg = [robot ['name' ], ' rviz config file: ' , rviz_config_file ]),
@@ -209,8 +181,6 @@ def generate_launch_description():
209181 ld .add_action (declare_map_yaml_cmd )
210182 ld .add_action (declare_robot1_params_file_cmd )
211183 ld .add_action (declare_robot2_params_file_cmd )
212- ld .add_action (default_nav_through_poses_bt_xml_cmd )
213- ld .add_action (default_nav_to_pose_bt_xml_cmd )
214184 ld .add_action (declare_use_rviz_cmd )
215185 ld .add_action (declare_autostart_cmd )
216186 ld .add_action (declare_rviz_config_file_cmd )
0 commit comments