Skip to content

Commit d13d2d0

Browse files
committed
Rearrange files and minor updates
* Move nav2_tree_nodes.xml and groot instruction to nav2_beahvior_tree * Run cmake install rules for nav2_tree_nodes.xml Signed-off-by: Sarathkrishnan Ramesh <sarathkrishnan99@gmail.com>
1 parent 21e2ea9 commit d13d2d0

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

‎nav2_behavior_tree/CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ install(DIRECTORY include/
120120
DESTINATION include/
121121
)
122122

123+
install(FILES nav2_tree_nodes.xml DESTINATION share/${PROJECT_NAME})
124+
123125
if(BUILD_TESTING)
124126
find_package(ament_lint_auto REQUIRED)
125127
ament_lint_auto_find_test_dependencies()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Instructions on using Groot
22
[Groot](https://github.com/BehaviorTree/Groot) is the companion application of [BehaviorTree.CPP](https://github.com/BehaviorTree/BehaviorTree.CPP) to create, edit, and monitor behavior trees.
33

4-
##### Note: Currently only supports visualization of the behavior tree along with the creation of new nodes (except ControlNodes) using the Groot. Additional features under development.
4+
##### Note: Currently fully supports visualization of the behavior trees. It also supports the creation of custom nodes except control flow nodes. Support for custom control flow nodes and real-time monitoring is under development.
55

66
### BehaviorTree visualization
77
To visualize the behavior trees using Groot:
88
1. Open Groot in editor mode
99
2. Select the `Load palette from file` option (import button) near the top left corner.
10-
3. Open the file `/path/to/navigation2/nav2_bt_navigator/behavior_trees/nav2_tree_nodes.xml` to import all the behavior tree nodes used for navigation.
10+
3. Open the file `/path/to/navigation2/nav2_behavior_tree/nav2_tree_nodes.xml` to import all the behavior tree nodes used for navigation.
1111
4. Select `Load tree` option near the top left corner
1212
5. Browse the tree you want to visualize the select ok.

‎nav2_bt_navigator/behavior_trees/nav2_tree_nodes.xml‎ renamed to ‎nav2_behavior_tree/nav2_tree_nodes.xml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
For instructions on using Groot and description of the following BehaviorTree nodes,
4+
please refer to the groot_instructions.md and REAMDE.md respectively located in the
5+
nav2_behavior_tree package.
6+
-->
17
<root>
28
<TreeNodesModel>
39
<!-- ############################### ACTION NODES ################################# -->

0 commit comments

Comments
 (0)