You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: behaviortree_ros2/tree_execution_server.md
+59-15Lines changed: 59 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ out of the box directly.
7
7
8
8
Further, the terms "load" will be equivalent to "register into the `BT::BehaviorTreeFactory`".
9
9
10
-
The `TreeExecutionServer`offers the following features:
10
+
The `TreeExecutionServer`offers the following features:
11
11
12
12
- Configurable using ROS parameters (see below).
13
13
- Load Behavior Trees definitions (XML files) from a list of folders.
@@ -21,6 +21,49 @@ Furthermore, the user can customize it to:
21
21
- Use the "global blackboard", a new idiom/pattern explained in [this tutorial](https://github.com/BehaviorTree/BehaviorTree.CPP/blob/master/examples/t19_global_blackboard.cpp).
22
22
- Customize the feedback of the `rclcpp_action::Server`.
23
23
24
+
## Customization points
25
+
26
+
These are the virtual method of `TreeExecutionServer` that can be overridden by the user.
27
+
28
+
### void onTreeCreated(BT::Tree& tree)
29
+
30
+
Callback invoked when a tree is created; this happens after `rclcpp_action::Server` receive a command from a client.
31
+
32
+
It can be used, for instance, to initialize a logger or the global blackboard.
0 commit comments