const std::string & name() const
TickFunctor tick_functor_
ConditionNode(const std::string &name, const NodeParameters ¶meters=NodeParameters())
std::unordered_map< std::string, std::string > NodeParameters
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
virtual NodeStatus tick() override
Method to be implemented by the user.
SimpleConditionNode(const std::string &name, TickFunctor tick_functor, const NodeParameters ¶ms=NodeParameters())
std::function< NodeStatus(TreeNode &)> TickFunctor