2
3
4
5
6
7
8
9
10
11
12
16#include "behaviortree_cpp/control_node.h"
21
22
23
24
25
26
27
28
29
30
31
32
37 SequenceNode(
const std::string& name,
bool make_async =
false,
38 const NodeConfiguration& conf = NodeConfiguration());
40 ~SequenceNode()
override =
default;
47 virtual void halt()
override;
50 size_t current_child_idx_;
55 size_t skipped_count_ = 0;
The ControlNode is the base class for nodes that can have multiple children.
Definition: control_node.h:32
The SequenceNode is used to tick children in an ordered sequence. If any child returns RUNNING,...
Definition: sequence_node.h:35
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
virtual void halt() override
Definition: action_node.h:24
NodeStatus
Definition: basic_types.h:34