The FallbackNode is used to try different strategies, until one succeed. If any child returns RUNNING, previous children will be ticked again. More...
#include <fallback_node.h>
Public Member Functions | |
FallbackNode (const std::string &name) | |
virtual | ~FallbackNode () override |
Private Member Functions | |
virtual BT::NodeStatus | tick () override |
Method to be implemented by the user. |
The FallbackNode is used to try different strategies, until one succeed. If any child returns RUNNING, previous children will be ticked again.
Definition at line 35 of file fallback_node.h.
BT::FallbackNode::FallbackNode | ( | const std::string & | name | ) |
Definition at line 18 of file fallback_node.cpp.
virtual BT::FallbackNode::~FallbackNode | ( | ) | [override, virtual] |
NodeStatus BT::FallbackNode::tick | ( | ) | [override, private, virtual] |
Method to be implemented by the user.
Implements BT::TreeNode.
Definition at line 24 of file fallback_node.cpp.