Closed mich1342 closed 1 week ago
This seems to work. I just added a:
default_nav_to_pose_bt_xml: "fake/path/to/navigate_to_pose_bt.xml"
And I see the BT Navigator failing and telling me it can't find the XML. That means that its taking what the parameter is throwing down.
[component_container_isolated-5] [ERROR] [1719337838.731281075] [bt_navigator]: Couldn't open input XML file: fake/path/to/navigate_to_pose_bt.xml
[component_container_isolated-5] [ERROR] [1719337838.731352487] [bt_navigator]: Error loading XML file: fake/path/to/navigate_to_pose_bt.xml
The robot would not receive any navigate to pose command and just stay in place
This probably means that your new BT file might just be invalid - either incorrect path or its not properly formed (like the error I posted above). Read the logs and file a ticket on Robotics Stack Exchange if its not obvious to you why it failed.
In the future if you file tickets, review it after you post, most of your ticket didn't render and I had to go in and modify to see the BT and read the yaml.
Bug report
Required Info:
Steps to reproduce issue
Edit Nav2 .yaml param file to use another default BT.xml file for navigate to pose based on the reference mentioned here
example:
The new xml file is the default
navigate_to_pose_w_replanning_and_recovery.xml
file with small modification where I comment out the Spin and BackUp recovery behaviors as shown below:Expected behavior
The robot will just wait where it has nowhere to go
Actual behavior
The robot would not receive any navigate to pose command and just stay in place
Additional information
If I change the default
navigate_to_pose_w_replanning_and_recovery.xml
file, everything works fineFeature request
Feature description
Implementation considerations