Go to the documentation of this file.
13 const auto v = getInput<Vector4D>(
"value").value();
14 printf(
"x:%f y:%f z:%f w:%f\n", v.x, v.y, v.z, v.w);
21 return { BT::InputPort<Vector4D>(
"value") };
33 factory.registerNodeType<
PrintVector>(
"PrintVector");
static BT::PortsList providedPorts()
const NodeConfig & config() const
BT_REGISTER_NODES(factory)
PrintVector(const std::string &name, const BT::NodeConfig &config)
std::unordered_map< std::string, PortInfo > PortsList
SyncActionNode(const std::string &name, const NodeConfig &config)
const std::string & name() const
Name of the instance, not the type.
BT::NodeStatus tick() override
Method to be implemented by the user.
The SyncActionNode is an ActionNode that explicitly prevents the status RUNNING and doesn't require a...