| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/BehaviorTree/btcpp_sample/main/main.cpp | [Back] [Original] |
#include "behaviortree_cpp/bt_factory.h"
using namespace BT;
// clang-format off
static const char* xml_text = R"(
)";
// clang-format on
class SaySomething : public BT::SyncActionNode
{
public:
SaySomething(const std::string& name, const BT::NodeConfig& config) :
BT::SyncActionNode(name, config)
{}
BT::NodeStatus tick() override
{
std::string msg;
getInput("message", msg);
std::cout
| Web Proxy Viewer | New URL | Original Page |