13 #ifndef MANUAL_SELECTION_NODE_H 14 #define MANUAL_SELECTION_NODE_H 30 virtual void halt()
override;
35 "If true, execute again the same child that was selected the last time") };
59 #endif // MANUAL_SELECTION_NODE_H virtual void halt() override
Use a Terminal User Interface (ncurses) to select a certain child manually.
static PortsList providedPorts()
const std::string & name() const
Name of the instance, not the type.
int previously_executed_idx_
const NodeConfiguration & config() const
static constexpr const char * REPEAT_LAST_SELECTION
ManualSelectorNode(const std::string &name, const NodeConfiguration &config)
virtual ~ManualSelectorNode() override=default
std::unordered_map< std::string, PortInfo > PortsList
NodeStatus selectStatus() const
uint8_t selectChild() const
virtual BT::NodeStatus tick() override
Method to be implemented by the user.