27 SimpleActionNode open_gripper(
"open_gripper", std::bind(&GripperInterface::open, &gripper));
28 SimpleActionNode close_gripper(
"close_gripper", std::bind(&GripperInterface::close, &gripper));
40 sequence_root.
addChild(&open_gripper);
41 sequence_root.
addChild(&approach_object);
42 sequence_root.
addChild(&close_gripper);
void haltAllActions(TreeNode *root_node)
The SimpleActionNode provides an easy to use ActionNode. The user should simply provide a callback wi...
void addChild(TreeNode *child)
virtual BT::NodeStatus executeTick()
The method that will be executed to invoke tick(); and setStatus();.
The SequenceNode is used to execute a sequence of children. If any child returns RUNNING, previous children will be ticked again.