2
3
4
5
6
7
8
9
10
11
15#include "behaviortree_cpp/control_node.h"
20
21
25 ManualSelectorNode(
const std::string& name,
const NodeConfig& config);
27 ~ManualSelectorNode()
override =
default;
34 virtual void halt()
override;
36 static PortsList providedPorts()
38 return { InputPort<
bool>(REPEAT_LAST_SELECTION,
false,
39 "If true, execute again the same child that was selected "
46 static constexpr const char* REPEAT_LAST_SELECTION =
"repeat_last_selection";
49 int running_child_idx_;
50 int previously_executed_idx_;
61 uint8_t selectChild()
const;
The ControlNode is the base class for nodes that can have multiple children.
Definition: control_node.h:32
Use a Terminal User Interface (ncurses) to select a certain child manually.
Definition: manual_node.h:23
virtual void halt() override
Definition: action_node.h:24
NodeStatus
Definition: basic_types.h:34
Definition: tree_node.h:105