2
3
4
5
6
7
8
9
10
11
15#include "behaviortree_cpp/decorator_node.h"
20
21
22
23
24
25
29 ForceSuccessNode(
const std::string& name) :
DecoratorNode(name, {})
31 setRegistrationID(
"ForceSuccess");
46 if(isStatusCompleted(child_status))
The DecoratorNode is the base class for nodes that have exactly one child.
Definition: decorator_node.h:19
The ForceSuccessNode always returns SUCCESS when the child completes, regardless of whether the child...
Definition: force_success_node.h:27
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
void setStatus(NodeStatus new_status)
setStatus changes the status of the node. it will throw if you try to change the status to IDLE,...
Definition: action_node.h:24
NodeStatus
Definition: basic_types.h:34