Skip to content

Commit b7d8d12

Browse files
authored
Remove use of default_bt_xml_filename (#643)
Signed-off-by: Maurice-1235 <[email protected]>
1 parent e90150b commit b7d8d12

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugin_tutorials/docs/writing_new_bt_plugin.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ In order for the BT Navigator node to discover the plugin we've just registered,
192192
global_frame: map
193193
robot_base_frame: base_link
194194
odom_topic: /odom
195-
default_bt_xml_filename: "navigate_w_replanning_and_recovery.xml"
195+
default_nav_to_pose_bt_xml: replace/with/path/to/bt.xml # or $(find-pkg-share my_package)/behavior_tree/my_nav_to_pose_bt.xml
196+
default_nav_through_poses_bt_xml: replace/with/path/to/bt.xml # or $(find-pkg-share my_package)/behavior_tree/my_nav_through_poses_bt.xml
196197
plugin_lib_names:
197198
- nav2_back_up_action_bt_node # other plugin
198199
- nav2_wait_action_bt_node # our new plugin

tutorials/docs/navigation2_dynamic_point_following.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Optionally, you can remap this topic in your rviz configuration file to ``goal_u
144144

145145
Start Nav2 in one terminal:
146146

147-
``ros2 launch nav2_bringup tb3_simulation_launch.py default_bt_xml_filename:=/path/to/bt.xml``
147+
``ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False``
148148

149149
Open RViz and, after initialize the robot position, command the robot to navigate to any position. Use the button clicked point to simulate a new detection of the object of interest, as shown in the video in the head of this tutorial.
150150

0 commit comments

Comments
 (0)