Closed Lannister-Xiaolin closed 2 years ago
This is an action node, not a control flow node, you've wrapped a bunch of stuff around the planner selector as having children when it itself is a leaf node only. You might want to try using Groot to modify the behavior trees to build BTs, I believe it should prevent you from making mistakes things like that https://navigation.ros.org/tutorials/docs/using_groot.html
<PlannerSelector selected_planner="{selected_planner}" default_planner="GridBased" topic_name="planner_selector">
Should include the end tag />
as a leaf, not later wrapping some stuff as you have some lines down with </PlannerSelector>
(and then remove indenting). You can see example usage in the unit tests: https://github.com/ros-planning/navigation2/blob/main/nav2_behavior_tree/test/plugins/action/test_planner_selector_node.cpp
Required Info:
Operating System: Ubuntu 20.04 ROS2 Version: Galatic
Detail
Any one can share a xml configure that works for galactic version? I setted as below, it's not working!!!