32 throw RuntimeError(
"Missing parameter [delay_msec] in DelayNode");
bool read_parameter_from_ports_
DelayNode(const std::string &name, unsigned milliseconds)
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const NodeConfiguration & config() const
const std::string & name() const
Name of the instance, not the type.
Result getInput(const std::string &key, T &destination) const
const TreeNode * child() const
void setRegistrationID(StringView ID)
uint64_t add(std::chrono::milliseconds milliseconds, std::function< void(bool)> handler)
Adds a new timer.
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
void setStatus(NodeStatus new_status)