15 std::cout <<
"[ Battery: OK ]" << std::endl;
22 std::cout <<
"GripperInterface::open" << std::endl;
28 std::cout <<
"GripperInterface::close" << std::endl;
35 std::cout <<
"ApproachObject: " << this->name() << std::endl;
41 auto msg = getInput<std::string>(
"message");
47 std::cout <<
"Robot says: " << msg.value() << std::endl;
53 auto msg =
self.getInput<std::string>(
"message");
59 std::cout <<
"Robot says: " << msg.value() << std::endl;
void RegisterNodes(BT::BehaviorTreeFactory &factory)
Abstract base class for Behavior Tree Nodes.
BT::NodeStatus tick() override
Method to be implemented by the user.
BT::NodeStatus SaySomethingSimple(BT::TreeNode &self)
BT_REGISTER_NODES(factory)
BT::NodeStatus tick() override
Method to be implemented by the user.
BT::NodeStatus CheckBattery()